Fixed some publishing steps issues
Some checks failed
autoBIGS.engine-bioconda/pipeline/head There was a failure building this commit

This commit is contained in:
Harrison Deng 2025-02-20 19:09:08 +00:00
parent 6ff02e876e
commit 453c25e758
2 changed files with 8 additions and 5 deletions

10
Jenkinsfile vendored
View File

@ -34,7 +34,7 @@ pipeline {
stage("build") {
steps {
dir('auto-updated-bioconda-recipes') {
sh 'conda build recipes/autobigs-engine --output-folder ./conda-dist'
sh 'conda build recipes/autobigs-engine --output-folder ./conda-bld'
}
}
}
@ -42,14 +42,16 @@ pipeline {
parallel {
stage("archive") {
steps {
archiveArtifacts artifacts: './conda-dist/**/*.conda', followSymlinks: false
archiveArtifacts artifacts: './conda-bld/**/*.conda', followSymlinks: false
}
}
stage("bioconda") {
stages {
stage('lint') {
steps {
sh 'bioconda-utils lint recipes/ --packages autobigs-engine'
dir('auto-updated-bioconda-recipes') {
sh 'bioconda-utils lint recipes/ --packages autobigs-engine'
}
}
}
stage('commit') {
@ -70,7 +72,7 @@ pipeline {
AUTH = credentials('git.reslate.systems')
}
steps {
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'
sh 'curl --user AUTH_USR:AUTH_PSW --upload-file ./conda-bld/**/*.conda https://git.reslate.systems/api/packages/${AUTH_USR}/conda/package-1.0.conda'
}
}
}

View File

@ -8,3 +8,4 @@ dependencies:
- git
- bioconda-utils
- python=3.10.*
- curl