Pipeline now updates environment if possible, otherwise, re-creates it
Some checks failed
ydeng/bmlsa/pipeline/head There was a failure building this commit

This commit is contained in:
Harrison Deng 2023-04-28 11:02:15 -05:00
parent 51c2bd1f7b
commit 2f86ec050f

2
Jenkinsfile vendored
View File

@ -8,7 +8,7 @@ pipeline {
}
stage("install") {
steps {
sh 'mamba env create --force --file environment.yml'
sh 'mamba env update --file environment.yml || mamba env create --force --file environment.yml'
sh 'echo "mamba activate bmlsa" >> ~/.bashrc'
}
}