From 453c25e75854155170081431a5c84feb42eea6ed Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Thu, 20 Feb 2025 19:09:08 +0000 Subject: [PATCH] Fixed some publishing steps issues --- Jenkinsfile | 10 ++++++---- environment.yml | 3 ++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 693831c..e4fe815 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' } } } diff --git a/environment.yml b/environment.yml index b3ee1b4..8449835 100644 --- a/environment.yml +++ b/environment.yml @@ -7,4 +7,5 @@ dependencies: - grayskull - git - bioconda-utils - - python=3.10.* \ No newline at end of file + - python=3.10.* + - curl \ No newline at end of file