提交 b0e3c3de 编写于 作者: K kohsuke

fixed #402.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2810 71c3de6d-444a-0410-be80-ed276b4c234a
上级 e336c158
......@@ -59,7 +59,7 @@ public class ExternalRun extends Run<ExternalJob,ExternalRun> {
* </run>
* </xmp></pre>
*/
public void acceptRemoteSubmission(final Reader in) {
public void acceptRemoteSubmission(final Reader in) throws IOException {
final long[] duration = new long[1];
run(new Runner() {
public Result run(BuildListener listener) throws Exception {
......@@ -93,8 +93,11 @@ public class ExternalRun extends Run<ExternalJob,ExternalRun> {
}
});
if(duration[0]!=0)
if(duration[0]!=0) {
super.duration = duration[0];
// save the updated duration
save();
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册