Skip to content

Commit

Permalink
Merge pull request #47 from pphillips-techphob/master
Browse files Browse the repository at this point in the history
[JENKINS-21016] Remove credential section as helper is a property within the credential section.
  • Loading branch information
ndeloof committed Dec 20, 2013
2 parents 3a9eddb + 43c83d7 commit 79c0e19
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -992,9 +992,9 @@ private String launchCommandWithCredentials(ArgumentListBuilder args, File workD
if (store != null) {
store.delete();
try {
launchCommandIn(workDir, "config", "--local", "--remove-section", "credential.helper");
launchCommandIn(workDir, "config", "--local", "--remove-section", "credential");
} catch (GitException e) {
listener.getLogger().println("Could not remove the credential.helper section from the git configuration");
listener.getLogger().println("Could not remove the credential section from the git configuration");
}
}
}
Expand Down

0 comments on commit 79c0e19

Please sign in to comment.