From 1b0948faa54a530825c99476160f2607847a18c8 Mon Sep 17 00:00:00 2001 From: Mike Aizatsky Date: Mon, 1 Aug 2016 14:46:50 -0700 Subject: [PATCH] [infra] parent dir tweaks --- infra/libfuzzer-pipeline.groovy | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/infra/libfuzzer-pipeline.groovy b/infra/libfuzzer-pipeline.groovy index ce6b9e003..57aecaf39 100644 --- a/infra/libfuzzer-pipeline.groovy +++ b/infra/libfuzzer-pipeline.groovy @@ -60,10 +60,9 @@ def call(body) { } if (dockerContextDir == null) { - dockerContextDir = new File(workspace, dockerfile) - .getAbsoluteFile() + dockerContextDir = new File(dockerfile) .getParentFile() - .getAbsolutePath(); + .getPath(); } sh "docker build -t $dockerTag -f $dockerfile $dockerContextDir"