#13 fixed webhook URL and added 'python3 -m' before pip install
All checks were successful
Amarillo/amarillo-gitea/amarillo-core/pipeline/head This commit looks good

This commit is contained in:
Csaba 2024-01-17 13:49:13 +01:00
parent 8b9fd6ab25
commit 89da3ddb88

8
Jenkinsfile vendored
View file

@ -9,7 +9,7 @@ pipeline {
IMAGE_NAME = 'amarillo'
TAG = "${BUILD_NUMBER}"
PLUGINS = 'amarillo-metrics amarillo-enhancer'
DEPLOY_WEBHOOK_URL = 'https://amarillo.mfdz.de:8888/mitanand'
DEPLOY_WEBHOOK_URL = 'http://amarillo.mfdz.de:8888/mitanand'
DEPLOY_SECRET = credentials('AMARILLO-JENKINS-DEPLOY-SECRET')
}
stages {
@ -24,9 +24,9 @@ pipeline {
stage('Installing requirements') {
steps {
echo 'Installing packages'
sh 'pip install -r requirements.txt'
sh 'pip install --upgrade build'
sh 'pip install --upgrade twine'
sh 'python3 -m pip install -r requirements.txt'
sh 'python3 -m pip install --upgrade build'
sh 'python3 -m pip install --upgrade twine'
}
}
stage('Build package') {