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

8
Jenkinsfile vendored
View File

@ -34,7 +34,7 @@ pipeline {
stage("build") { stage("build") {
steps { steps {
dir('auto-updated-bioconda-recipes') { 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,16 +42,18 @@ pipeline {
parallel { parallel {
stage("archive") { stage("archive") {
steps { steps {
archiveArtifacts artifacts: './conda-dist/**/*.conda', followSymlinks: false archiveArtifacts artifacts: './conda-bld/**/*.conda', followSymlinks: false
} }
} }
stage("bioconda") { stage("bioconda") {
stages { stages {
stage('lint') { stage('lint') {
steps { steps {
dir('auto-updated-bioconda-recipes') {
sh 'bioconda-utils lint recipes/ --packages autobigs-engine' sh 'bioconda-utils lint recipes/ --packages autobigs-engine'
} }
} }
}
stage('commit') { stage('commit') {
environment { environment {
TOKEN = credentials('github.com') TOKEN = credentials('github.com')
@ -70,7 +72,7 @@ pipeline {
AUTH = credentials('git.reslate.systems') AUTH = credentials('git.reslate.systems')
} }
steps { 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 - git
- bioconda-utils - bioconda-utils
- python=3.10.* - python=3.10.*
- curl