mirror of https://github.com/google/oss-fuzz.git
[infra] parent dir tweaks
This commit is contained in:
parent
391bbdac51
commit
1b0948faa5
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue