This commit is contained in:
Joan Sanchez 2018-10-25 07:57:17 +02:00
parent 56322ca520
commit a57c8a6575
1 changed files with 9 additions and 4 deletions

13
Jenkinsfile vendored
View File

@ -36,14 +36,19 @@ node {
nodejs('node-8.12.0') { nodejs('node-8.12.0') {
sh "gulp build" sh "gulp build"
} }
} */ } */
stage ('Generating new dockers') { stage ('Generating new dockers') {
docker.build('vn-loopback:latest ./services/loopback/'); agent {
docker {
image 'vn-loopback:latest'
}
}
//docker.build('vn-loopback:latest ./services/loopback/');
//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"
} }
} }