From 81d63bc54d8997acc21de311c05aac60f5bb9d29 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Fri, 24 Jan 2025 21:01:14 +0000 Subject: [PATCH] Updated private git credentials and now fails CI publishing steps --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d38b079..66e0333 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -33,10 +33,10 @@ pipeline { parallel { stage ("git.reslate.systems") { environment { - TOKEN = credentials('git.reslate.systems') + CREDS = credentials('username-password-rs-git') } 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") { @@ -47,7 +47,7 @@ pipeline { TOKEN = credentials('pypi.org') } 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/*' } } }