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"