Add --no-cache-dir switch to install twine

This commit is contained in:
vato007
2020-07-31 08:31:30 +00:00
parent 858bbe1fda
commit 35605995a7

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 --user twine' sh 'pip install --user --no-cache-dir 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/*'
} }
} }