Skip to content

Commit

Permalink
[JENKINS-21016] the section is called credential rather than credenti…
Browse files Browse the repository at this point in the history
…al helper. Remove the whole section as using unset to remove credential.helper caused a new credential section to appear on the next set
  • Loading branch information
pphillips-techphob committed Dec 20, 2013
1 parent e6f0f01 commit 43c83d7
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 43c83d7

Please sign in to comment.