about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ops/gerrit-tvl/static/tvl.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/ops/gerrit-tvl/static/tvl.js b/ops/gerrit-tvl/static/tvl.js
index b1ce3eda3a..2c4d7ee473 100644
--- a/ops/gerrit-tvl/static/tvl.js
+++ b/ops/gerrit-tvl/static/tvl.js
@@ -116,6 +116,12 @@ const tvlChecksProvider = {
           continue;
         }
 
+        // Skip jobs marked as 'broken' (this means they were skipped
+        // intentionally)
+        if (job.state === 'broken') {
+          continue;
+        }
+
         // TODO(lukegb): add the ability to retry these
         const checkRun = {
           patchset: parseInt(build.env.GERRIT_PATCHSET, 10),
@@ -150,7 +156,7 @@ const tvlChecksProvider = {
         }
         checkRun.statusDescription = statusDescription;
 
-        if (['failed', 'broken', 'timed_out'].includes(job.state)) {
+        if (['failed', 'timed_out'].includes(job.state)) {
           const result = {
             // TODO(lukegb): get the log as the message here (the Gerrit
             // implementation doesn't yet seem to support newlines in message