Added linting stage to bioconda package publishing

This commit is contained in:
Harrison Deng 2025-02-17 19:53:05 +00:00
parent 91765cba90
commit ff420b9e6a

11
Jenkinsfile vendored
View File

@ -30,11 +30,19 @@ pipeline {
steps {
sh 'grayskull pypi autobigs.engine --maintainers "Harrison Deng"'
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") {
steps {
sh 'conda build autobigs-engine'
sh 'conda build bioconda-utils/recipes/autobigs-engine'
}
}
stage("commit") {
@ -43,7 +51,6 @@ pipeline {
}
steps {
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 push https://${TOKEN}@github.com/Syph-and-VPD-Lab/bioconda-recipes.git update-autobigs-engine'
}