Added a step to push the condapackage to git.reslate.systems conda repo
Some checks failed
autoBIGS.engine-bioconda/pipeline/head There was a failure building this commit
Some checks failed
autoBIGS.engine-bioconda/pipeline/head There was a failure building this commit
This commit is contained in:
parent
1ec6581e27
commit
810ec0ee6a
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
@ -43,10 +43,17 @@ pipeline {
|
||||
stage("build") {
|
||||
steps {
|
||||
dir('auto-updated-bioconda-recipes') {
|
||||
sh 'conda build recipes/autobigs-engine'
|
||||
sh 'conda build recipes/autobigs-engine --output-folder ./conda-dist'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('publish') {
|
||||
parallel {
|
||||
stage("archive") {
|
||||
steps {
|
||||
archiveArtifacts artifacts: './conda-dist/**/*.conda', followSymlinks: false
|
||||
}
|
||||
}
|
||||
stage("commit") {
|
||||
environment {
|
||||
TOKEN = credentials('github.com')
|
||||
@ -58,5 +65,16 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('git.reslate.systems') {
|
||||
environment {
|
||||
AUTH = credentials('git.reslate.systems')
|
||||
}
|
||||
steps {
|
||||
sh
|
||||
sh 'curl --user AUTH_USR:AUTH_PSW --upload-file ./conda-dist/**/*.conda https://git.reslate.systems/api/packages/${AUTH_USR}/conda/package-1.0.conda'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user