diff --git a/Jenkinsfile b/Jenkinsfile index 5b2954f..e9fcb05 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -45,26 +45,22 @@ pipeline { sh 'conda build auto-updated-bioconda-recipes/recipes/autobigs-cli --output-folder ./conda-bld' } } - stage("publish to bioconda") { - stages { - stage('lint') { - steps { - dir('auto-updated-bioconda-recipes') { - sh 'bioconda-utils lint recipes/ --packages autobigs-cli' - } - } + stage('lint') { + steps { + dir('auto-updated-bioconda-recipes') { + sh 'bioconda-utils lint recipes/ --packages autobigs-cli' } - stage('commit') { - environment { - TOKEN = credentials('github.com') - } - steps { - dir('auto-updated-bioconda-recipes') { - 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' - } - } + } + } + stage('pull-request') { + environment { + TOKEN = credentials('github.com') + } + steps { + dir('auto-updated-bioconda-recipes') { + 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' } } }