Jenkinsfile fixes
gitea/worker-time-control/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2021-10-20 15:38:46 +02:00
parent e0b7e0be0a
commit 269c40df15
1 changed files with 1 additions and 2 deletions

3
Jenkinsfile vendored
View File

@ -4,7 +4,6 @@ pipeline {
agent any
environment {
PROJECT_NAME = 'worker-time-control'
STACK_NAME = "${env.PROJECT_NAME}-${env.BRANCH_NAME}"
}
stages {
stage('Checkout') {
@ -25,7 +24,7 @@ pipeline {
DOCKER_HOST = "${env.SWARM_HOST}"
}
steps {
sh "docker stack deploy --with-registry-auth --prune --compose-file docker-compose.yml ${env.STACK_NAME}"
sh "docker stack deploy --with-registry-auth --prune --compose-file docker-compose.yml ${env.PROJECT_NAME}"
}
}
}