From 02713f8ddfe1e8b55264434b6062a4b2cb065ba9 Mon Sep 17 00:00:00 2001 From: Justin Newberry Date: Thu, 5 Oct 2023 15:15:31 -0700 Subject: [PATCH] sudo --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ed9a19b510..29c5e09d0f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -85,8 +85,8 @@ def pcStage(String stageName, Closure body) { docker.build("openpilot-base:build-${env.GIT_COMMIT}", "-f Dockerfile.openpilot_base .").inside(dockerArgs) { timeout(time: 20, unit: 'MINUTES') { try { - sh "chown -R batman:batman /tmp/scons_cache" - sh "chown -R batman:batman /tmp/comma_download_cache" + sh "sudo chown -R batman:batman /tmp/scons_cache" + sh "sudo chown -R batman:batman /tmp/comma_download_cache" sh "git config --global --add safe.directory '*'" sh "git submodule update --init --recursive" sh "git lfs pull"