Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-29340] ISVNAuthentication provider did not provide credentials
  • Loading branch information
recena committed Jul 19, 2015
1 parent 5017b4b commit 72c3766
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/hudson/scm/SubversionSCM.java
Expand Up @@ -1394,8 +1394,9 @@ else if (project.getLastBuild()!=null) {
ISVNAuthenticationProvider>();

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

for (ModuleLocation loc: getLocations(env, null)) {
Expand Down

0 comments on commit 72c3766

Please sign in to comment.