From 774cbd1af08597c240b9bf880d3c7bc9fa1b91e0 Mon Sep 17 00:00:00 2001 From: vato007 Date: Sat, 1 Aug 2020 06:00:04 +0000 Subject: [PATCH] Try fixing credentials --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e119df3..2b47897 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,14 +16,14 @@ pipeline { } stage('Deploy') { - environment { - TWINE_REPOSITORY_URL = 'https://vato.ddns.net/nexus/repository/pypi-local/' - TWINE_CREDS = 'credentials(\'2eddcc32-2914-4b5c-bec4-52d40cfba020\')' - } steps { - sh 'python -m twine upload -u $TWINE_CREDS_USR -p $TWINE_CREDS_PSW python/dist/*' + sh 'python -m twine upload -u $TWINE_COMMON_CREDS_USR -p $TWINE_COMMON_CREDS_PSW python/dist/*' } } } + environment { + TWINE_REPOSITORY_URL = 'https://vato.ddns.net/nexus/repository/pypi-local/' + TWINE_COMMON_CREDS = 'credentials(\'2eddcc32-2914-4b5c-bec4-52d40cfba020\')' + } } \ No newline at end of file