Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[JENKINS-4617]

we are looking for dependencies since the last successful build
and not since the last previous not failed build
  • Loading branch information...
commit 502219cf1b8be65f91d4ebd81e590558eb8c5b26 1 parent ad646cd
Marco Machmer authored kohsuke committed
2  core/src/main/java/hudson/model/AbstractBuild.java
@@ -283,7 +283,7 @@ public final FilePath getModuleRoot() {
283 283
             if (upstreamCulprits) {
284 284
                 // If we have dependencies since the last successful build, add their authors to our list
285 285
                 if (getPreviousNotFailedBuild() != null) {
286  
-                    Map <AbstractProject,AbstractBuild.DependencyChange> depmap = getDependencyChanges(getPreviousNotFailedBuild());
  286
+                    Map <AbstractProject,AbstractBuild.DependencyChange> depmap = getDependencyChanges(getPreviousSuccessfulBuild());
287 287
                     for (AbstractBuild.DependencyChange dep : depmap.values()) {
288 288
                         for (AbstractBuild<?,?> b : dep.getBuilds()) {
289 289
                             for (Entry entry : b.getChangeSet()) {

0 notes on commit 502219c

Please sign in to comment.
Something went wrong with that request. Please try again.