diff options
Diffstat (limited to 'ops')
-rw-r--r-- | ops/gerrit-tvl/static/tvl.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ops/gerrit-tvl/static/tvl.js b/ops/gerrit-tvl/static/tvl.js index b1ce3eda3abb..2c4d7ee4739c 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 |