Updated private git credentials and now fails CI publishing steps

This commit is contained in:
Harrison Deng 2025-01-24 21:01:14 +00:00
parent f263d380ca
commit 81d63bc54d

6
Jenkinsfile vendored
View File

@ -33,10 +33,10 @@ pipeline {
parallel { parallel {
stage ("git.reslate.systems") { stage ("git.reslate.systems") {
environment { environment {
TOKEN = credentials('git.reslate.systems') CREDS = credentials('username-password-rs-git')
} }
steps { steps {
sh returnStatus: true, script: 'python -m twine upload --repository-url https://git.reslate.systems/api/packages/ydeng/pypi -u __token__ -p ${TOKEN} --non-interactive --disable-progress-bar --verbose dist/*' sh script: 'python -m twine upload --repository-url https://git.reslate.systems/api/packages/ydeng/pypi -u ${CREDS_USR} -p ${CREDS_PSW} --non-interactive --disable-progress-bar --verbose dist/*'
} }
} }
stage ("pypi.org") { stage ("pypi.org") {
@ -47,7 +47,7 @@ pipeline {
TOKEN = credentials('pypi.org') TOKEN = credentials('pypi.org')
} }
steps { steps {
sh returnStatus: true, script: 'python -m twine upload -u __token__ -p ${TOKEN} --non-interactive --disable-progress-bar --verbose dist/*' sh script: 'python -m twine upload -u __token__ -p ${TOKEN} --non-interactive --disable-progress-bar --verbose dist/*'
} }
} }
} }