Skip to content

Commit

Permalink
[FIXED JENKINS-19974] failed to retrieve credentials on fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
ndeloof committed Oct 11, 2013
1 parent e85afbd commit 0176cb4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -149,7 +149,7 @@ public void fetch(URIish url, List<RefSpec> refspecs) throws GitException, Inter
ArgumentListBuilder args = new ArgumentListBuilder();
args.add("fetch", "-t");

StandardCredentials cred = credentials.get(url);
StandardCredentials cred = credentials.get(url.toPrivateString());
if (cred == null) cred = defaultCredentials;
args.add( getURLWithCrendentials(url, cred) );

Expand Down

1 comment on commit 0176cb4

@rogerhu
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tried recompiling but I still see the issue. Doesn't seem to have any effect....checking still..

Please sign in to comment.