From f2679866b75e241f92b55488c50ab1c7ed0da16d Mon Sep 17 00:00:00 2001 From: Samir Shetty Date: Thu, 16 Jan 2025 00:46:40 -0800 Subject: [PATCH] Fix git ownership issue in promote block --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 92f02b7e..b8d9b5a5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -64,7 +64,7 @@ if (params.MODE == "PROMOTE") { dockerImageLocation = pwd() + "/docker-image*.tar*" infrapool.agentPut from: "${dockerImageLocation}", to: "${assetDirectory}" // Resolve ownership issue before promotion - infrapool.agentSh 'git config --global --add safe.directory ${PWD}' + sh 'git config --global --add safe.directory ${PWD}' } // Copy Github Enterprise release to Github