Fixed pipeline publishing stage
Some checks failed
ydeng/renamebycsv/pipeline/head There was a failure building this commit

This commit is contained in:
Harrison Deng 2023-04-08 12:51:38 -05:00
parent cc6c9bd0db
commit 739ac17b02

2
Jenkinsfile vendored
View File

@ -15,7 +15,7 @@ pipeline {
stage("publish") { stage("publish") {
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 "python -m twine upload --repository-url https://git.reslate.systems -u ${USER} -p ${PASS} --non-interactive --disable-progress-bar --verbose dist/*" 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/*"
} }
} }
} }