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

Commit

Permalink
Merge pull request #287 from jglick/AbstractCpsFlowTest-JENKINS-30395
Browse files Browse the repository at this point in the history
[JENKINS-30395] Extend workaround to subclasses of AbstractCpsFlowTest
  • Loading branch information
jglick committed Jan 5, 2016
2 parents c4519c3 + 0aa6a12 commit be247cb
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 be247cb

Please sign in to comment.