fix(gerrit-tvl): Mark job as failed on all failure states
Change-Id: If0fa85d8178b9e457305d0244ddf67d12a4b3051 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4889 Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi> Autosubmit: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
e1ffaee1dd
commit
e8bf17317e
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ const tvlChecksProvider = {
|
||||||
}
|
}
|
||||||
checkRun.statusDescription = statusDescription;
|
checkRun.statusDescription = statusDescription;
|
||||||
|
|
||||||
if (job.state === 'failed') {
|
if (['failed', 'broken', 'timed_out'].includes(job.state)) {
|
||||||
const result = {
|
const result = {
|
||||||
// TODO(lukegb): get the log as the message here (the Gerrit
|
// TODO(lukegb): get the log as the message here (the Gerrit
|
||||||
// implementation doesn't yet seem to support newlines in message
|
// implementation doesn't yet seem to support newlines in message
|
||||||
|
|
Loading…
Reference in a new issue