Jenkinsfile small fixes

This commit is contained in:
Juan 2018-06-12 09:00:40 +02:00
parent 2c9bbcd571
commit bfb89690d6
1 changed files with 1 additions and 2 deletions

3
Jenkinsfile vendored
View File

@ -1,6 +1,5 @@
#!/usr/bin/env groovy
// TODO: We are using latest tag until image rotation it's implemented
env.COMPOSER_HTTP_TIMEOUT = 300;
switch (env.BRANCH_NAME) {
@ -34,6 +33,6 @@ node {
stage ('Generating new dockers') {
sh "docker build -t vn-loopback:latest ./services/loopback/"
sh "docker-compose up -d --build"
sh "docker image prune --all"
sh "docker image prune -f"
}
}