Skip to content

Commit

Permalink
Merge pull request #58 from Conjur-Enterprise/fix-promote
Browse files Browse the repository at this point in the history
CNJR-0000: Fix git ownership issue in promote block
  • Loading branch information
jtuttle authored and GitHub Enterprise committed Jan 16, 2025
2 parents ab35702 + f267986 commit d563d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d563d22

Please sign in to comment.