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

This commit is contained in:
Jenkins 2016-04-22 22:19:04 +00:00 committed by Gerrit Code Review
commit 23dcb7dd5b
1 changed files with 6 additions and 0 deletions

View File

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