Moved linting stage to bioconda specific publishing stages
Some checks failed
autoBIGS.engine-bioconda/pipeline/head There was a failure building this commit

This commit is contained in:
Harrison Deng 2025-02-20 17:59:02 +00:00
parent 077715509d
commit 2538cf2687

30
Jenkinsfile vendored
View File

@ -31,13 +31,6 @@ pipeline {
sh 'cp -r autobigs-engine/* auto-updated-bioconda-recipes/recipes/autobigs-engine/.' sh 'cp -r autobigs-engine/* auto-updated-bioconda-recipes/recipes/autobigs-engine/.'
} }
} }
stage("lint") {
steps {
dir('auto-updated-bioconda-recipes') {
sh 'bioconda-utils lint recipes/ --packages autobigs-engine'
}
}
}
stage("build") { stage("build") {
steps { steps {
dir('auto-updated-bioconda-recipes') { dir('auto-updated-bioconda-recipes') {
@ -52,14 +45,21 @@ pipeline {
archiveArtifacts artifacts: './conda-dist/**/*.conda', followSymlinks: false archiveArtifacts artifacts: './conda-dist/**/*.conda', followSymlinks: false
} }
} }
stage("commit") { stage("bioconda") {
environment { stages {
TOKEN = credentials('github.com') stage('lint') {
} sh 'bioconda-utils lint recipes/ --packages autobigs-engine'
steps { }
dir('auto-updated-bioconda-recipes') { stage('commit') {
sh 'git commit -a -m "Automatically updated autobigs-engine bioconda recipe to $(python ../pypi_latest_ver.py autoBIGS.engine)."' environment {
sh 'git push https://${TOKEN}@github.com/Syph-and-VPD-Lab/auto-updated-bioconda-recipes.git update-autobigs-engine' TOKEN = credentials('github.com')
}
steps {
dir('auto-updated-bioconda-recipes') {
sh 'git commit -a -m "Automatically updated autobigs-engine bioconda recipe to $(python ../pypi_latest_ver.py autoBIGS.engine)."'
sh 'git push https://${TOKEN}@github.com/Syph-and-VPD-Lab/auto-updated-bioconda-recipes.git update-autobigs-engine'
}
}
} }
} }
} }