From 8c4188d9212819d057aabeabca53bf4ed30c2e7a Mon Sep 17 00:00:00 2001 From: Mike Aizatsky Date: Tue, 13 Dec 2016 13:09:31 -0800 Subject: [PATCH] [infra] var rename --- infra/libfuzzer-pipeline.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/libfuzzer-pipeline.groovy b/infra/libfuzzer-pipeline.groovy index 4d52b3f84..457ac9371 100644 --- a/infra/libfuzzer-pipeline.groovy +++ b/infra/libfuzzer-pipeline.groovy @@ -38,7 +38,8 @@ def call(body) { def dockerGit = dockerfileConfig["git"] def dockerContextDir = dockerfileConfig["context"] ?: "" def dockerTag = "ossfuzz/$projectName" - def dockerRunOptions = "--user $uid --cap-add SYS_PTRACE" + def dockerUid = 0 // TODO: try to make $USER to work + def dockerRunOptions = "--user $dockerUid --cap-add SYS_PTRACE" def date = java.time.format.DateTimeFormatter.ofPattern("yyyyMMddHHmm") .format(java.time.LocalDateTime.now()) @@ -46,7 +47,6 @@ def call(body) { node { def workspace = pwd() // def uid = sh(returnStdout: true, script: 'id -u $USER').trim() - def uid = 0 // TODO: try to make $USER to work echo "using uid $uid" def srcmapFile = "$workspace/srcmap.json"