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