CI no longer fails on unsuccessful package upload
All checks were successful
ydeng/bmlsa/pipeline/head This commit looks good

This commit is contained in:
Harrison Deng 2023-04-21 14:33:26 -05:00
parent f1ceb1438c
commit 1d0da9a675

2
Jenkinsfile vendored
View File

@ -28,7 +28,7 @@ pipeline {
}
steps {
withCredentials([usernamePassword(credentialsId: 'rs-git-package-registry-ydeng', passwordVariable: 'PASS', usernameVariable: 'USER')]) {
sh "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: '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/*'
}
}
}