Zuul status: Link to logs.o.o on completed builds

Change-Id: I8af0fbe82acadc0e3c05bc5164eca5a318706023
Depends-On: Ida811e2b097a32b8d560aad8a0b18c8048a36279
This commit is contained in:
James E. Blair 2016-04-19 09:02:05 -07:00
parent 0a28946607
commit a159ea06f6

View File

@ -332,7 +332,13 @@ function format_change(change, change_queue) {
result_class += " result_unstable"; result_class += " result_unstable";
} }
html += '<span class="jobwrapper"><span class="job">'; html += '<span class="jobwrapper"><span class="job">';
if (job['result'] !== null && job['report_url'] !== null) {
html += '<a href="'+job['report_url']+'">';
}
html += job['name']; html += job['name'];
if (job['result'] !== null && job['report_url'] !== null) {
html += '</a>';
}
html += ': '; html += ': ';
if (job['result'] === null && job['url'] !== null) { if (job['result'] === null && job['url'] !== null) {
html += format_progress(job['elapsed_time'], job['remaining_time']); html += format_progress(job['elapsed_time'], job['remaining_time']);