jENKINS
This commit is contained in:
parent
3a922e5345
commit
1acfdf5950
|
@ -44,7 +44,7 @@ node
|
||||||
stage ("Stopping/Removing Docker")
|
stage ("Stopping/Removing Docker")
|
||||||
{
|
{
|
||||||
environment {
|
environment {
|
||||||
env.TAG = env.BUILD_NUMBER - 1;
|
env.BUILD_TAG = env.BUILD_NUMBER - 1;
|
||||||
}
|
}
|
||||||
sh "docker-compose down --rmi 'all'"
|
sh "docker-compose down --rmi 'all'"
|
||||||
}
|
}
|
||||||
|
@ -52,7 +52,7 @@ node
|
||||||
stage ("Generar dockers")
|
stage ("Generar dockers")
|
||||||
{
|
{
|
||||||
environment {
|
environment {
|
||||||
env.TAG = env.BUILD_NUMBER + 1;
|
env.BUILD_TAG = env.BUILD_NUMBER;
|
||||||
}
|
}
|
||||||
sh "docker-compose up -d --build"
|
sh "docker-compose up -d --build"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue