From edec2cb929f932c5e9c392c53b0f7a797aae0724 Mon Sep 17 00:00:00 2001 From: Harrison Date: Sat, 8 Apr 2023 05:45:31 -0500 Subject: [PATCH] Fixed Jenkinsfile --- Jenkinsfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 73afdcd..f0d2fb5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,9 +15,8 @@ pipeline { stage("publish") { steps { withCredentials([usernamePassword(credentialsId: 'rs-git-package-registry-ydeng', passwordVariable: 'PASS', usernameVariable: 'USER')]) { - // some block - sh "pip -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 -u ${USER} -p ${PASS} --non-interactive --disable-progress-bar --verbose dist/*" + } } } }