Pipeline now updates environment if possible, otherwise, re-creates it
Some checks failed
ydeng/bmlsa/pipeline/head There was a failure building this commit
Some checks failed
ydeng/bmlsa/pipeline/head There was a failure building this commit
This commit is contained in:
parent
51c2bd1f7b
commit
2f86ec050f
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -8,7 +8,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage("install") {
|
stage("install") {
|
||||||
steps {
|
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'
|
sh 'echo "mamba activate bmlsa" >> ~/.bashrc'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user