Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Prevent breakage involving build-flow plugin
In certain cases, the Build Flow plugin can return a CancellationExcpetion
when iterating over downstream builds.

This has the effect of breaking both the Job and Build UIs.

This PR protects against this and [FIXES JENKINS-25396]

It is also related to JENKINS-32144 and JENKINS-25092
  • Loading branch information
Scott Hebert committed Dec 21, 2015
1 parent 0d57ae2 commit e059156
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -30,6 +30,7 @@
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.concurrent.CancellationException;
import java.util.concurrent.ExecutionException;
import java.util.logging.Logger;

Expand Down Expand Up @@ -69,6 +70,8 @@ public class BuildFlowDBF extends DownstreamBuildFinder {
// skip
} catch (InterruptedException e) {
// ignore
} catch (CancellationException e) {
// ignore
}
}

Expand Down

0 comments on commit e059156

Please sign in to comment.