Re-merged separation process and finished initial Jenkins pipeline

This commit is contained in:
2025-02-17 15:50:33 +00:00
parent 9d117a37ea
commit 76455011db
3 changed files with 45 additions and 6 deletions

13
Jenkinsfile vendored
View File

@@ -15,7 +15,7 @@ pipeline {
dir('bioconda-recipes') {
sh 'git pull'
sh 'git pull origin update-autobigs-engine'
sh 'git pull origin update-autobigs-engine'
sh 'git pull origin update-autobigs-cli'
}
}
}
@@ -44,8 +44,15 @@ pipeline {
stage("overwrite") {
steps {
dir('bioconda-recipes') {
sh 'checkout '
sh 'cp autobigs-engine/* '
sh 'git checkout -b update-autobigs-engine'
sh 'cp -r ../autobigs-engine/* recipes/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 origin update-autobigs-engine'
sh 'git checkout -b update-autobigs-cli'
sh 'cp -r ../autobigs-engine/* recipes/autobigs-cli/.'
sh 'git commit -a -m "Automatically updated autobigs-cli bioconda recipe to $(python ../scripts/package_latest_version.py autoBIGS.engine)."'
sh 'git push origin update-autobigs-cli'
}
}
}