Updated cloned directory names

This commit is contained in:
Harrison Deng 2025-02-18 14:17:31 +00:00
parent a60eba3c0c
commit e8de40972a

10
Jenkinsfile vendored
View File

@ -12,7 +12,7 @@ pipeline {
stage("recipes repo") { stage("recipes repo") {
steps { steps {
sh 'git clone https://github.com/Syph-and-VPD-Lab/auto-updated-bioconda-recipes.git' sh 'git clone https://github.com/Syph-and-VPD-Lab/auto-updated-bioconda-recipes.git'
dir('bioconda-recipes') { dir('auto-updated-bioconda-recipes') {
sh 'git pull' sh 'git pull'
sh 'git pull origin update-autobigs-engine' sh 'git pull origin update-autobigs-engine'
sh 'git checkout update-autobigs-engine' sh 'git checkout update-autobigs-engine'
@ -30,12 +30,12 @@ pipeline {
steps { steps {
sh 'grayskull pypi autoBIGS.engine --maintainers "Harrison Deng"' sh 'grayskull pypi autoBIGS.engine --maintainers "Harrison Deng"'
sh 'python patch_recipe.py' sh 'python patch_recipe.py'
sh 'cp -r autobigs-engine/* bioconda-recipes/recipes/autobigs-engine/.' sh 'cp -r autobigs-engine/* auto-updated-bioconda-recipes/recipes/autobigs-engine/.'
} }
} }
stage("lint") { stage("lint") {
steps { steps {
dir('bioconda-recipes') { dir('auto-updated-bioconda-recipes') {
sh 'bioconda-utils lint recipes/ --packages autobigs-engine' sh 'bioconda-utils lint recipes/ --packages autobigs-engine'
} }
} }
@ -50,9 +50,9 @@ pipeline {
TOKEN = credentials('github.com') TOKEN = credentials('github.com')
} }
steps { steps {
dir('bioconda-recipes') { dir('auto-updated-bioconda-recipes') {
sh 'git commit -a -m "Automatically updated autobigs-engine bioconda recipe to $(python ../scripts/package_latest_version.py 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' sh 'git push https://${TOKEN}@github.com/Syph-and-VPD-Lab/auto-updated-bioconda-recipes.git update-autobigs-engine'
} }
} }
} }