[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [sysadmin/gerrit-ci-matrix] /: Color highlighting for the NOT_REGISTERED status
From:       Jan_Kundrát <jkt () kde ! org>
Date:       2016-10-01 0:45:38
Message-ID: E1bq8Qs-0003GL-EC () code ! kde ! org
[Download RAW message or body]

Git commit 8258e9b215880266ed3f1ca3920b33e72ef55901 by Jan Kundrát.
Committed on 29/03/2016 at 08:11.
Pushed by jkt into branch 'master'.

Color highlighting for the NOT_REGISTERED status

M  +2    -1    matrix.html

http://commits.kde.org/sysadmin/gerrit-ci-matrix/8258e9b215880266ed3f1ca3920b33e72ef55901

diff --git a/matrix.html b/matrix.html
index dddbc8f..124df89 100644
--- a/matrix.html
+++ b/matrix.html
@@ -12,6 +12,7 @@
   td.FAILURE_build { background-color: #ff8888; }
   td.FAILURE_tests { background-color: #ffaaaa; }
   td.FAILURE_deps { background-color: #ff88ff; }
+  td.NOT_REGISTERED { background-color: #9999ff; }
   td.not-run { background-color: #dddddd; }
 </style>
 <script src="jquery-1.11.3.min.js" type="text/javascript"></script>
@@ -112,7 +113,7 @@ function loadCI(jQuery) {
                 td.append($('<a>').attr('href', job.url).text('logs'));
               }
               td.attr('title', format_duration(job.duration) + '\non ' + new Date(job.time * 1000));
-              if (res == 'SUCCESS') {
+              if (res == 'SUCCESS' || res == 'NOT_REGISTERED') {
                 td.addClass(res);
               } else if (res.lastIndexOf('FAILURE_tests', 0) === 0) {
                 td.addClass('FAILURE_tests');

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic