Merge jenkins-test #1

Merged
Csaba merged 16 commits from jenkins-test into main 2023-12-18 12:50:58 +01:00
Showing only changes of commit c154a463fd - Show all commits

3
Jenkinsfile vendored
View file

@ -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/*'
}
}
}