提交 502219cf 编写于 作者: M marco 提交者: Kohsuke Kawaguchi

[JENKINS-4617]

we are looking for dependencies since the last successful build
and not since the last previous not failed build
上级 ad646cd1
......@@ -283,7 +283,7 @@ public abstract class AbstractBuild<P extends AbstractProject<P,R>,R extends Abs
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()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册