base-images Jenkinsfile tweaks

This commit is contained in:
Mike Aizatsky 2016-07-20 15:11:12 -07:00
parent 6de229ba12
commit 03d9ccfa97
1 changed files with 9 additions and 7 deletions

View File

@ -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"
}