Skip to content

Commit

Permalink
[JENKINS-30395] Extend workaround to subclasses of AbstractCpsFlowTest.
Browse files Browse the repository at this point in the history
Originally-Committed-As: 0aa6a126c5050200827c9b706911d625a20e4f7c
  • Loading branch information
jglick committed Jan 4, 2016
1 parent 90d38ad commit 137ef8f
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 137ef8f

Please sign in to comment.