Updated pipeline to take advantage of new build container image
Some checks reported errors
ydeng/filterfasta/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
ydeng/filterfasta/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
parent
953bb8f507
commit
c9bc645cc3
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -8,8 +8,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage("install") {
|
stage("install") {
|
||||||
steps {
|
steps {
|
||||||
sh 'mamba env update --file environment.yml'
|
sh 'mamba env update --file environment.yml --prefix ./env || mamba env create --force --file environment.yml --prefix ./env'
|
||||||
sh 'echo "mamba activate filterfasta" >> ~/.bashrc'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("build") {
|
stage("build") {
|
||||||
@ -25,7 +24,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage("archive") {
|
stage("archive") {
|
||||||
steps {
|
steps {
|
||||||
archiveArtifacts artifacts: 'dist/*.tar.gz, dist/*.whl'
|
archiveArtifacts artifacts: 'dist/*.tar.gz, dist/*.whl', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("publish") {
|
stage("publish") {
|
||||||
|
@ -7,3 +7,4 @@ dependencies:
|
|||||||
- twine=4
|
- twine=4
|
||||||
- biopython=1.81
|
- biopython=1.81
|
||||||
- python=3.11
|
- python=3.11
|
||||||
|
prefix: ./env
|
Loading…
Reference in New Issue
Block a user