Merge branch 'dev' of http://git.verdnatura.es/salix into dev

This commit is contained in:
Carlos Jimenez 2018-01-08 13:42:26 +01:00
commit 2f988d4b3c
1 changed files with 8 additions and 4 deletions

12
Jenkinsfile vendored
View File

@ -43,14 +43,18 @@ node
stage ("Stopping/Removing Docker")
{
env.TAG = env.BUILD_NUMBER - 1;
sh "docker-compose down --rmi 'all'"
step{
env.TAG = env.BUILD_NUMBER - 1;
sh "docker-compose down --rmi 'all'"
}
}
stage ("Generar dockers")
{
env.TAG = env.BUILD_NUMBER + 1;
sh "docker-compose up -d --build"
step{
env.TAG = env.BUILD_NUMBER + 1;
sh "docker-compose up -d --build"
}
}
}
}