From c2c6d0b01657c7a7bda5e2851d16d1edefb9196c Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Mon, 20 Jan 2025 19:04:44 +0000 Subject: [PATCH] Changed package publishing on git.reslate.systems back to username and password authentication --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d38b079..897556b 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 returnStatus: true, 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") {