Jenkinsfile

This commit is contained in:
vicentefalco 2017-11-07 16:44:46 +01:00
parent f387a4a8ff
commit 95178c1d23
1 changed files with 2 additions and 15 deletions

17
Jenkinsfile vendored
View File

@ -34,25 +34,12 @@ node
{
stage ("Stopping/Removing Docker")
{
try
{
sh "docker-compose rm -s"
}catch(Exception _){
echo "Error Stopping/Removing dockers"
}
sh "docker-compose down"
}
stage ("Generar dockers")
{
stage ("build dockers")
{
sh "docker-compose build "
}
stage ("up dockers")
{
sh "docker-compose up -d"
}
sh "docker-compose up -d --build"
}
}
}