diff --git a/Jenkinsfile b/Jenkinsfile index 4cc6d74f4..15c4ff79f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -43,13 +43,13 @@ node stage ("Stopping/Removing Docker") { - env.TAG = "${env.BUILD_NUMBER}" - 1; + env.TAG = env.BUILD_NUMBER - 1; sh "docker-compose down --rmi 'all'" } stage ("Generar dockers") { - env.TAG = "${env.BUILD_NUMBER}" + 1; + env.TAG = env.BUILD_NUMBER + 1; sh "docker-compose up -d --build" } }