Skip to content
Permalink
Browse files

Merge pull request #127 from recena/JENKINS-29340

[JENKINS-29340] ISVNAuthentication provider did not provide credentials
  • Loading branch information
recena committed Jul 19, 2015
2 parents d951dc1 + 72c3766 commit 91516c4adbefbf9c67d477a2d4f15ca26d63f588
Showing with 8 additions and 1 deletion.
  1. +8 −1 src/main/java/hudson/scm/SubversionSCM.java
@@ -1392,7 +1392,14 @@ else if (project.getLastBuild()!=null) {

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

EnvVars env = null;
Run<?,?> run = project.getLastCompletedBuild();
if (run != null) {
env = run.getEnvironment(listener);
}

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

0 comments on commit 91516c4

Please sign in to comment.
You can’t perform that action at this time.