Skip to content

Commit d563d22

Browse files
jtuttleGitHub Enterprise
authored andcommitted
Merge pull request #58 from Conjur-Enterprise/fix-promote
CNJR-0000: Fix git ownership issue in promote block
2 parents ab35702 + f267986 commit d563d22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ if (params.MODE == "PROMOTE") {
6464
dockerImageLocation = pwd() + "/docker-image*.tar*"
6565
infrapool.agentPut from: "${dockerImageLocation}", to: "${assetDirectory}"
6666
// Resolve ownership issue before promotion
67-
infrapool.agentSh 'git config --global --add safe.directory ${PWD}'
67+
sh 'git config --global --add safe.directory ${PWD}'
6868
}
6969

7070
// Copy Github Enterprise release to Github

0 commit comments

Comments
 (0)