Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[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
@morca morca authored kohsuke committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  core/src/main/java/hudson/model/AbstractBuild.java
View
2  core/src/main/java/hudson/model/AbstractBuild.java
@@ -283,7 +283,7 @@ public final FilePath getModuleRoot() {
if (upstreamCulprits) {
// If we have dependencies since the last successful build, add their authors to our list
if (getPreviousNotFailedBuild() != null) {
- Map <AbstractProject,AbstractBuild.DependencyChange> depmap = getDependencyChanges(getPreviousNotFailedBuild());
+ Map <AbstractProject,AbstractBuild.DependencyChange> depmap = getDependencyChanges(getPreviousSuccessfulBuild());
for (AbstractBuild.DependencyChange dep : depmap.values()) {
for (AbstractBuild<?,?> b : dep.getBuilds()) {
for (Entry entry : b.getChangeSet()) {
Please sign in to comment.
Something went wrong with that request. Please try again.