本文整理了Java中hudson.model.Run.writeWholeLogTo
方法的一些代码示例,展示了Run.writeWholeLogTo
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Run.writeWholeLogTo
方法的具体详情如下:
包路径:hudson.model.Run
类名称:Run
方法名:writeWholeLogTo
[英]Writes the complete log from the start to finish to the OutputStream. If someone is still writing to the log, this method will not return until the whole log file gets written out.
The method does not close the OutputStream.
[中]将完整日志从头到尾写入OutputStream。如果仍有人在写入日志,则在整个日志文件被写入之前,此方法不会返回。
该方法不会关闭OutputStream。
代码示例来源:origin: jenkinsci/jenkins
for (int i=0;i<=retryCnt;) {
try {
b.writeWholeLogTo(stdout);
break;
代码示例来源:origin: org.jenkins-ci.plugins/python-wrapper
public void superWriteWholeLogTo(OutputStream out) throws IOException, InterruptedException {
super.writeWholeLogTo(out);
}
代码示例来源:origin: org.jenkins-ci.plugins/python-wrapper
@Override
public void writeWholeLogTo(OutputStream out) throws IOException, InterruptedException {
initPython();
if (pexec.isImplemented(51)) {
pexec.execPythonVoid("write_whole_log_to", out);
} else {
super.writeWholeLogTo(out);
}
}
代码示例来源:origin: org.jenkins-ci.main/jenkins-core
for (int i=0;i<=retryCnt;) {
try {
b.writeWholeLogTo(stdout);
break;
内容来源于网络,如有侵权,请联系作者删除!