Jenkins
This commit is contained in:
parent
65e58d6b7c
commit
d4d8126c72
|
@ -43,13 +43,13 @@ node
|
||||||
|
|
||||||
stage ("Stopping/Removing Docker")
|
stage ("Stopping/Removing Docker")
|
||||||
{
|
{
|
||||||
env.TAG = "${env.BUILD_NUMBER}-1";
|
env.TAG = "${env.BUILD_NUMBER}" - 1;
|
||||||
sh "docker-compose down --rmi 'all'"
|
sh "docker-compose down --rmi 'all'"
|
||||||
}
|
}
|
||||||
|
|
||||||
stage ("Generar dockers")
|
stage ("Generar dockers")
|
||||||
{
|
{
|
||||||
env.TAG = "${env.BUILD_NUMBER}+1";
|
env.TAG = "${env.BUILD_NUMBER}" + 1;
|
||||||
sh "docker-compose up -d --build"
|
sh "docker-compose up -d --build"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue