Removed unecessary nesting in pipeline
All checks were successful
autoBIGS.cli-bioconda/pipeline/head This commit looks good

This commit is contained in:
Harrison Deng 2025-02-26 17:49:37 +00:00
parent 0bc1cb1c51
commit a6d7c71f69

34
Jenkinsfile vendored
View File

@ -45,26 +45,22 @@ pipeline {
sh 'conda build auto-updated-bioconda-recipes/recipes/autobigs-cli --output-folder ./conda-bld' sh 'conda build auto-updated-bioconda-recipes/recipes/autobigs-cli --output-folder ./conda-bld'
} }
} }
stage("publish to bioconda") { stage('lint') {
stages { steps {
stage('lint') { dir('auto-updated-bioconda-recipes') {
steps { sh 'bioconda-utils lint recipes/ --packages autobigs-cli'
dir('auto-updated-bioconda-recipes') {
sh 'bioconda-utils lint recipes/ --packages autobigs-cli'
}
}
} }
stage('commit') { }
environment { }
TOKEN = credentials('github.com') stage('pull-request') {
} environment {
steps { TOKEN = credentials('github.com')
dir('auto-updated-bioconda-recipes') { }
sh 'git commit -a -m "Automatically updated autobigs-cli bioconda recipe to ${TOOL_VER}."' steps {
sh 'git push https://${TOKEN}@github.com/Syph-and-VPD-Lab/auto-updated-bioconda-recipes.git update-autobigs-cli-${TOOL_VER}' dir('auto-updated-bioconda-recipes') {
sh 'git request-pull update-autobigs-cli-${TOOL_VER} https://github.com/bioconda/bioconda-recipes.git master' sh 'git commit -a -m "Automatically updated autobigs-cli bioconda recipe to ${TOOL_VER}."'
} sh 'git push https://${TOKEN}@github.com/Syph-and-VPD-Lab/auto-updated-bioconda-recipes.git update-autobigs-cli-${TOOL_VER}'
} sh 'git request-pull update-autobigs-cli-${TOOL_VER} https://github.com/bioconda/bioconda-recipes.git master'
} }
} }
} }