diff --git a/Jenkinsfile b/Jenkinsfile index 67dc011..ff194d0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,6 +7,7 @@ pipeline { } environment { GITEA_CREDS = credentials('AMARILLO-JENKINS-GITEA-USER') + TWINE_REPO_URL = "https://git.gerhardt.io/api/packages/amarillo/pypi" } stages { stage('Create virtual environment') { @@ -38,7 +39,7 @@ pipeline { } stage('Publish package') { steps { - sh 'python -m twine upload --repository gitea --username $GITEA_CREDS_USR --password $GITEA_CREDS_PSW ./dist/*' + sh 'python -m twine upload --repository-url $TWINE_REPO_URL --username $GITEA_CREDS_USR --password $GITEA_CREDS_PSW ./dist/*' } } }