Install twine first

This commit is contained in:
vato007
2020-07-31 02:59:44 +00:00
parent 8de2f5dec8
commit 73dcde54d9

1
Jenkinsfile vendored
View File

@@ -21,6 +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 '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/*'
} }
} }