JenkinsFile
This commit is contained in:
parent
1acfdf5950
commit
309f31fb93
|
@ -43,17 +43,11 @@ node
|
|||
|
||||
stage ("Stopping/Removing Docker")
|
||||
{
|
||||
environment {
|
||||
env.BUILD_TAG = env.BUILD_NUMBER - 1;
|
||||
}
|
||||
sh "docker-compose down --rmi 'all'"
|
||||
}
|
||||
|
||||
stage ("Generar dockers")
|
||||
{
|
||||
environment {
|
||||
env.BUILD_TAG = env.BUILD_NUMBER;
|
||||
}
|
||||
sh "docker-compose up -d --build"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue