From 03d9ccfa97e28548eb3b6da8c4fb1e46af0c90e5 Mon Sep 17 00:00:00 2001 From: Mike Aizatsky Date: Wed, 20 Jul 2016 15:11:12 -0700 Subject: [PATCH] base-images Jenkinsfile tweaks --- infra/base-images/Jenkinsfile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/infra/base-images/Jenkinsfile b/infra/base-images/Jenkinsfile index bda9383e7..959269c42 100644 --- a/infra/base-images/Jenkinsfile +++ b/infra/base-images/Jenkinsfile @@ -18,11 +18,13 @@ def dockerOptions="--no-cache" -git url: 'https://github.com/google/oss-fuzz/' -sh "docker build $dockerOptions --pull -t libfuzzer/base infra/images/base" -sh "docker build $dockerOptions -t libfuzzer/base-clang infra/images/base-clang" -sh "docker build $dockerOptions -t libfuzzer/base-fuzzer infra/images/base-fuzzer" +node { + git url: 'https://github.com/google/oss-fuzz/' + sh "docker build $dockerOptions --pull -t libfuzzer/base infra/images/base" + sh "docker build $dockerOptions -t libfuzzer/base-clang infra/images/base-clang" + sh "docker build $dockerOptions -t libfuzzer/base-fuzzer infra/images/base-fuzzer" -// cleanup stale docker images -// sh "docker rm $(docker ps -a -q) || true" -// sh "docker rmi $(docker images -q -f dangling=true) || true" + // cleanup stale docker images + // sh "docker rm $(docker ps -a -q) || true" + // sh "docker rmi $(docker images -q -f dangling=true) || true" +}