Jenkinsfile
This commit is contained in:
parent
f387a4a8ff
commit
95178c1d23
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue