提交 d931a5d7 编写于 作者: D Daniel Beck

Merge pull request #1967 from jglick/ClosedByInterruptException-JENKINS-30395

[JENKINS-30395] Work around ClosedByInterruptException in JenkinsRule
......@@ -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
LOGGER.warning("was interrupted before start");
}
if(Functions.isWindows()) {
// JENKINS-4409.
// URLConnection caches handles to jar files by default,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册