Compare commits

..

2 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
2f49699a23 Loosened version requirements for twine.
Some checks reported errors
ydeng/splitmsa/pipeline/head Something is wrong with the build of this commit
2024-07-21 04:01:36 +00:00
3 changed files with 4 additions and 5 deletions

4
Jenkinsfile vendored
View File

@@ -25,7 +25,7 @@ pipeline {
}
stage("archive") {
steps {
archiveArtifacts artifacts: 'dist/*.tar.gz, dist/*.whl', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true
archiveArtifacts artifacts: 'dist/*.tar.gz, dist/*.whl'
}
}
stage("publish") {
@@ -34,7 +34,7 @@ pipeline {
}
steps {
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

@@ -4,7 +4,6 @@ channels:
dependencies:
- build=0.7.0
- pytest=7.2.2
- twine=4.0.2
- twine
- biopython=1.81
- python=3.9
prefix: ./env