Publish CI step no longer fails build if push is failed
Some checks failed
filterfasta/pipeline/head There was a failure building this commit

This commit is contained in:
Harrison Deng 2024-11-14 21:18:56 +00:00
parent 6de659df58
commit 59f007873c

2
Jenkinsfile vendored
View File

@ -34,7 +34,7 @@ pipeline {
}
steps {
withCredentials([usernamePassword(credentialsId: '4d6f64be-d26d-4f95-8de3-b6a9b0beb311', 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 returnStdout: 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/*"
}
}
}