diff --git a/test/src/main/java/org/jvnet/hudson/test/JenkinsRule.java b/test/src/main/java/org/jvnet/hudson/test/JenkinsRule.java index 394555c489..8e6f3677ce 100644 --- a/test/src/main/java/org/jvnet/hudson/test/JenkinsRule.java +++ b/test/src/main/java/org/jvnet/hudson/test/JenkinsRule.java @@ -321,6 +321,10 @@ public class JenkinsRule implements TestRule, MethodRule, RootAction { * @throws Throwable if setup fails (which will disable {@code after} */ public void before() throws Throwable { + if (Thread.interrupted()) { // JENKINS-30395 + System.err.println("was interrupted before start"); + } + if(Functions.isWindows()) { // JENKINS-4409. // URLConnection caches handles to jar files by default,