Added linting stage to bioconda package publishing
This commit is contained in:
parent
91765cba90
commit
ff420b9e6a
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -30,11 +30,19 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
sh 'grayskull pypi autobigs.engine --maintainers "Harrison Deng"'
|
sh 'grayskull pypi autobigs.engine --maintainers "Harrison Deng"'
|
||||||
sh 'python scripts/adapt_names.py autobigs.engine'
|
sh 'python scripts/adapt_names.py autobigs.engine'
|
||||||
|
sh 'cp -r autobigs-engine/* bioconda-recipes/recipes/autobigs-engine/.'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage("lint") {
|
||||||
|
steps {
|
||||||
|
dir('bioconda-recipes') {
|
||||||
|
sh 'bioconda-utils lint recipes/ --packages autobigs-engine'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("build") {
|
stage("build") {
|
||||||
steps {
|
steps {
|
||||||
sh 'conda build autobigs-engine'
|
sh 'conda build bioconda-utils/recipes/autobigs-engine'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("commit") {
|
stage("commit") {
|
||||||
@ -43,7 +51,6 @@ pipeline {
|
|||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
dir('bioconda-recipes') {
|
dir('bioconda-recipes') {
|
||||||
sh 'cp -r ../autobigs-engine/* recipes/autobigs-engine/.'
|
|
||||||
sh 'git commit -a -m "Automatically updated autobigs-engine bioconda recipe to $(python ../scripts/package_latest_version.py autoBIGS.engine)."'
|
sh 'git commit -a -m "Automatically updated autobigs-engine bioconda recipe to $(python ../scripts/package_latest_version.py autoBIGS.engine)."'
|
||||||
sh 'git push https://${TOKEN}@github.com/Syph-and-VPD-Lab/bioconda-recipes.git update-autobigs-engine'
|
sh 'git push https://${TOKEN}@github.com/Syph-and-VPD-Lab/bioconda-recipes.git update-autobigs-engine'
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user