Add deploy stage

This commit is contained in:
vato007
2020-07-31 02:57:34 +00:00
parent 557d2ccbed
commit 8de2f5dec8

10
Jenkinsfile vendored
View File

@@ -15,5 +15,15 @@ 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/*'
}
}
}
}