fix(gerrit-tvl): Exclude non-command jobs from check results
Change-Id: I13727d30ac7a568f02614a4bbc778afed6a286ba Reviewed-on: https://cl.tvl.fyi/c/depot/+/4891 Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi> Autosubmit: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
86a205220f
commit
a5c9b11a6b
1 changed files with 5 additions and 0 deletions
|
@ -111,6 +111,11 @@ const tvlChecksProvider = {
|
|||
const build = respJSON[i];
|
||||
|
||||
for (let job of build.jobs) {
|
||||
// Skip non-command jobs (e.g. waiting/grouping jobs)
|
||||
if (job.type !== 'script') {
|
||||
continue;
|
||||
}
|
||||
|
||||
// TODO(lukegb): add the ability to retry these
|
||||
const checkRun = {
|
||||
patchset: parseInt(build.env.GERRIT_PATCHSET, 10),
|
||||
|
|
Loading…
Reference in a new issue