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/.'
}
}
stage("lint") {
steps {
dir('auto-updated-bioconda-recipes') {
sh 'bioconda-utils lint recipes/ --packages autobigs-engine'
}
}
}
stage("build") {
steps {
dir('auto-updated-bioconda-recipes') {
@ -52,14 +45,21 @@ pipeline {
archiveArtifacts artifacts: './conda-dist/**/*.conda', followSymlinks: false
}
}
stage("commit") {
environment {
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'
stage("bioconda") {
stages {
stage('lint') {
sh 'bioconda-utils lint recipes/ --packages autobigs-engine'
}
stage('commit') {
environment {
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'
}
}
}
}
}