Try fixing credentials
This commit is contained in:
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@@ -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\')'
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user