提交 bd717613 编写于 作者: K kohsuke

[HUDSON-4150] In 1.320 I added additional logging to track down where it's...

[HUDSON-4150] In 1.320 I added additional logging to track down where it's aborted. Please follow http://wiki.hudson-ci.org/display/HUDSON/Logging and enable logging for hudson.model.Run, then report back what it printed out.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20489 71c3de6d-444a-0410-be80-ed276b4c234a
上级 8bd0745e
......@@ -960,6 +960,7 @@ public abstract class AbstractProject<P extends AbstractProject<P,R>,R extends A
}
} catch (AbortException e) {
listener.fatalError(Messages.AbstractProject_Aborted());
LOGGER.log(Level.FINE, "Polling "+this+" aborted",e);
return false;
} catch (IOException e) {
e.printStackTrace(listener.fatalError(e.getMessage()));
......
......@@ -1095,8 +1095,10 @@ public abstract class Run <JobT extends Job<JobT,RunT>,RunT extends Run<JobT,Run
throw t;
} catch( AbortException e ) {// orderly abortion.
result = Result.FAILURE;
LOGGER.log(Level.FINE, "Build "+this+" aborted",e);
} catch( RunnerAbortedException e ) {// orderly abortion.
result = Result.FAILURE;
LOGGER.log(Level.FINE, "Build "+this+" aborted",e);
} catch( InterruptedException e) {
// aborted
result = Result.ABORTED;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册