Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-29340] E200015: ISVNAuthentication provider did not provide …
…credentials
  • Loading branch information
recena committed Jul 18, 2015
1 parent d951dc1 commit 5017b4b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/main/java/hudson/scm/SubversionSCM.java
Expand Up @@ -1392,7 +1392,13 @@ else if (project.getLastBuild()!=null) {

final Map<String,ISVNAuthenticationProvider> authProviders = new LinkedHashMap<String,
ISVNAuthenticationProvider>();
for (ModuleLocation loc: getLocations()) {

EnvVars env = null;
if (project.getLastCompletedBuild() != null) {
env = project.getLastCompletedBuild().getEnvironment(listener);
}

for (ModuleLocation loc: getLocations(env, null)) {
String url;
try {
url = loc.getExpandedLocation(project).getSVNURL().toDecodedString();
Expand Down

0 comments on commit 5017b4b

Please sign in to comment.