Jenkinsfile
This commit is contained in:
parent
ffde93614a
commit
366a8e2f4d
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue