0
1
Fork 0

Jenkinsfile fixes

This commit is contained in:
Juan Ferrer 2022-05-05 11:39:49 +02:00
parent 497f0c130b
commit f5e1b11df9
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -4,6 +4,7 @@ pipeline {
agent any
environment {
PROJECT_NAME = 'hedera-web'
STACK_NAME = "${env.PROJECT_NAME}-${env.BRANCH_NAME}"
}
stages {
stage('Checkout') {
@ -73,7 +74,7 @@ pipeline {
DOCKER_HOST = "${env.SWARM_HOST}"
}
steps {
dockerStackDeploy()
sh "docker stack deploy --with-registry-auth --compose-file docker-compose.yml ${env.STACK_NAME}"
}
}
}