[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [sysadmin/gerrit-ci-matrix] /: Visually distinguish between various failure modes
From: Jan_Kundrát <jkt () kde ! org>
Date: 2016-10-01 0:45:38
Message-ID: E1bq8Qs-0003GL-Ca () code ! kde ! org
[Download RAW message or body]
Git commit e34d2c942e8f09d2e6b6b1e062c2247db71e890c by Jan Kundrát.
Committed on 29/03/2016 at 08:03.
Pushed by jkt into branch 'master'.
Visually distinguish between various failure modes
M +9 -1 matrix.html
http://commits.kde.org/sysadmin/gerrit-ci-matrix/e34d2c942e8f09d2e6b6b1e062c2247db71e890c
diff --git a/matrix.html b/matrix.html
index 56e3e44..af98a38 100644
--- a/matrix.html
+++ b/matrix.html
@@ -9,7 +9,9 @@
table { border-collapse: collapse; }
td.SUCCESS { background-color: #aaffaa; }
td.FAILURE { background-color: #ff8888; }
- td.FAILURE_tests { background-color: #ffcccc; }
+ td.FAILURE_build { background-color: #ff8888; }
+ td.FAILURE_tests { background-color: #ffaaaa; }
+ td.FAILURE_deps { background-color: #ff88ff; }
td.not-run { background-color: #dddddd; }
</style>
<script src="jquery-1.11.3.min.js" type="text/javascript"></script>
@@ -110,6 +112,12 @@ function loadCI(jQuery) {
td.attr('title', format_duration(job.duration) + '\non ' + new Date(job.time * 1000));
if (res == 'SUCCESS') {
td.addClass(res);
+ } else if (res.lastIndexOf('FAILURE_tests', 0) === 0) {
+ td.addClass('FAILURE_tests');
+ } else if (res.lastIndexOf('FAILURE_build', 0) === 0) {
+ td.addClass('FAILURE_build');
+ } else if (res.lastIndexOf('FAILURE_deps', 0) === 0) {
+ td.addClass('FAILURE_deps');
} else if (res.lastIndexOf('Tests failed', 0) === 0) {
td.addClass('FAILURE_tests');
} else {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic