From 1beab25f62db1f8778e41b0b628a1fd3c907b8b7 Mon Sep 17 00:00:00 2001 From: Mike Aizatsky Date: Thu, 21 Jul 2016 14:01:57 -0700 Subject: [PATCH] [infra] fixed docker tag --- infra/libfuzzer-pipeline.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/infra/libfuzzer-pipeline.groovy b/infra/libfuzzer-pipeline.groovy index 676fe15cd..746b0f0e8 100644 --- a/infra/libfuzzer-pipeline.groovy +++ b/infra/libfuzzer-pipeline.groovy @@ -40,7 +40,7 @@ def call(body) { for (int i = 0; i < sanitizers.size(); i++) { def sanitizer = sanitizers[i] - def dockerTag = "$projectName-$sanitizer" + def dockerTag = "ossfuzz/$projectName-$sanitizer" dir(sanitizer) { stage name: "$sanitizer sanitizer" @@ -62,14 +62,14 @@ def call(body) { git url: gitUrl } - sh "docker build -t libfuzzer/$dockerTag -f $dockerfile ." + sh "docker build -t $dockerTag -f $dockerfile ." sh "rm -rf $out" - def zipFile= "$dockerTag-${date}.zip" + def zipFile= "$projectName-$sanitizer-${date}.zip" sh "mkdir -p $out" sh "ls -alR $workspace/" - sh "docker run -v $workspace:/workspace -v $out:/out -e sanitizer_flags=\"-fsanitize=$sanitizer\" -t libfuzzer/$dockerTag" + sh "docker run -v $workspace:/workspace -v $out:/out -e sanitizer_flags=\"-fsanitize=$sanitizer\" -t $dockerTag" sh "zip -j $zipFile $out/*" sh "gsutil cp $zipFile gs://clusterfuzz-builds/$projectName/" }