Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Commit

Permalink
[JENKINS-30395] Extend workaround to subclasses of AbstractCpsFlowTest.
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Jan 4, 2016
1 parent 958e6e7 commit 0aa6a12
Showing 1 changed file with 8 additions and 1 deletion.
Expand Up @@ -50,7 +50,14 @@ public abstract class AbstractCpsFlowTest {
public TemporaryFolder tmp = new TemporaryFolder();

@Rule
public JenkinsRule jenkins = new JenkinsRule();
public JenkinsRule jenkins = new JenkinsRule() {
@Override public void before() throws Throwable {
if (Thread.interrupted()) {
System.err.println("was interrupted before start");
}
super.before();
}
};

/**
* Currently executing flow.
Expand Down

0 comments on commit 0aa6a12

Please sign in to comment.