Jenkinsfile

This commit is contained in:
Vicente Falco 2018-01-17 15:00:32 +01:00
parent df03a41a68
commit 8f7344c898
1 changed files with 1 additions and 25 deletions

24
Jenkinsfile vendored
View File

@ -43,35 +43,11 @@ node
stage ("Stopping/Removing Docker") 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") 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" sh "docker-compose up -d --build"
} }
} }