docker compose node tool

This commit is contained in:
Joan Sanchez 2018-10-25 11:03:35 +02:00
parent 269a7db38a
commit c2ab736281
1 changed files with 5 additions and 3 deletions

2
Jenkinsfile vendored
View File

@ -39,8 +39,10 @@ node {
} }
stage ('Generating new dockers') { stage ('Generating new dockers') {
nodejs('node-8.12.0') {
sh "docker build -t vn-loopback:latest ./services/loopback/" sh "docker build -t vn-loopback:latest ./services/loopback/"
sh "docker-compose up -d --build" sh "docker-compose up -d --build"
sh "docker image prune -f" sh "docker image prune -f"
} }
}
} }