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

11
Jenkinsfile vendored
View File

@ -39,11 +39,16 @@ node {
} */
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-compose up -d --build"
sh "docker build -t vn-loopback:latest ./services/loopback/"
//sh "docker-compose up -d --build"
//sh "docker image prune -f"
}
}