Fix user switch

This commit is contained in:
vato007
2020-07-31 03:00:34 +00:00
parent 73dcde54d9
commit 858bbe1fda

2
Jenkinsfile vendored
View File

@@ -21,7 +21,7 @@ pipeline {
TWINE_CREDS = 'credentials(\'2eddcc32-2914-4b5c-bec4-52d40cfba020\')' TWINE_CREDS = 'credentials(\'2eddcc32-2914-4b5c-bec4-52d40cfba020\')'
} }
steps { steps {
sh 'pip install -u twine' sh 'pip install --user twine'
sh 'python -m twine upload -u $TWINE_CREDS_USR -p $TWINE_CREDS_PSW python/dist/*' sh 'python -m twine upload -u $TWINE_CREDS_USR -p $TWINE_CREDS_PSW python/dist/*'
} }
} }