Compare commits

..

1 Commits

Author SHA1 Message Date
f08e4c7d35 Pipeline will not fail if version is the same.
All checks were successful
ydeng/splitmsa/pipeline/head This commit looks good
2024-07-21 04:03:36 +00:00
2 changed files with 2 additions and 3 deletions

4
Jenkinsfile vendored
View File

@@ -25,7 +25,7 @@ pipeline {
} }
stage("archive") { stage("archive") {
steps { steps {
archiveArtifacts artifacts: 'dist/*.tar.gz, dist/*.whl', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true archiveArtifacts artifacts: 'dist/*.tar.gz, dist/*.whl'
} }
} }
stage("publish") { stage("publish") {
@@ -34,7 +34,7 @@ pipeline {
} }
steps { steps {
withCredentials([usernamePassword(credentialsId: 'rs-git-package-registry-ydeng', passwordVariable: 'PASS', usernameVariable: 'USER')]) { withCredentials([usernamePassword(credentialsId: 'rs-git-package-registry-ydeng', passwordVariable: 'PASS', usernameVariable: 'USER')]) {
sh 'conda run -n base python -m twine upload --repository-url https://git.reslate.systems/api/packages/${USER}/pypi -u ${USER} -p ${PASS} --non-interactive --disable-progress-bar --verbose dist/*' sh returnStatus: true, script: 'conda run -n base python -m twine upload --repository-url https://git.reslate.systems/api/packages/${USER}/pypi -u ${USER} -p ${PASS} --non-interactive --disable-progress-bar --verbose dist/*'
} }
} }
} }

View File

@@ -7,4 +7,3 @@ dependencies:
- twine - twine
- biopython=1.81 - biopython=1.81
- python=3.9 - python=3.9
prefix: ./env