Jenkinsfile
This commit is contained in:
parent
df03a41a68
commit
8f7344c898
|
@ -43,35 +43,11 @@ node
|
|||
|
||||
stage ("Stopping/Removing Docker")
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
<<<<<<< HEAD
|
||||
step{
|
||||
env.TAG = env.BUILD_NUMBER - 1;
|
||||
sh "docker-compose down --rmi 'all'"
|
||||
=======
|
||||
environment {
|
||||
env.BUILD_TAG = env.BUILD_NUMBER - 1;
|
||||
>>>>>>> 1acfdf5950d33f4bf972dc2830e05d2f2b1ba99a
|
||||
}
|
||||
>>>>>>> e47138eda088c8d307f58d42cc34cbde7295946f
|
||||
sh "docker-compose down --rmi 'all'"
|
||||
sh "docker-compose down --rmi 'all'"
|
||||
}
|
||||
|
||||
stage ("Generar dockers")
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
<<<<<<< HEAD
|
||||
step{
|
||||
env.TAG = env.BUILD_NUMBER + 1;
|
||||
sh "docker-compose up -d --build"
|
||||
=======
|
||||
environment {
|
||||
env.BUILD_TAG = env.BUILD_NUMBER;
|
||||
>>>>>>> 1acfdf5950d33f4bf972dc2830e05d2f2b1ba99a
|
||||
}
|
||||
>>>>>>> e47138eda088c8d307f58d42cc34cbde7295946f
|
||||
sh "docker-compose up -d --build"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue