From 31df26eb484624494e0cc9bfeb538fc6ec4e24b9 Mon Sep 17 00:00:00 2001 From: cclecle Date: Wed, 22 Mar 2023 09:43:00 +0000 Subject: [PATCH] fix: twine cmd line --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 42600dd..87713da 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -561,7 +561,7 @@ pipeline { withCredentials([usernamePassword( credentialsId: _PypiCredentials, passwordVariable: 'PYPI_PASSWORD', usernameVariable: 'PYPI_USERNAME')]) { sh(script: """#!/bin/sh - |. ~/TOOLS_ENV/bin/activate - |exec twine upload -r ${PY_PROJECT_NAME} dist/* -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} --non-interactive --disable-progress-bar + |exec twine upload -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} --non-interactive --disable-progress-bar dist/* """.stripMargin()) } }