tcWebHooks icon indicating copy to clipboard operation
tcWebHooks copied to clipboard

Set webhook payload items to something more relevant for cancelled builds

Open gerbil opened this issue 8 years ago • 5 comments

Can't see webhooks for cancelled jobs

gerbil avatar Feb 09 '17 09:02 gerbil

I'm not sure what you are expecting to see. Can you please give more detail?

netwolfuk avatar Feb 09 '17 11:02 netwolfuk

I'm expecting to see hook for cancelled job. But i can't see any. Result for this job is stil running: "resultPrevious": failure "result": running

gerbil avatar Feb 09 '17 11:02 gerbil

Ah, I see what you mean. Although the buildStatus and notifyType do clarify that the build was cancelled (interrupted).

    "buildStatus": "Canceled (Tests passed: 41; exit code 137 (new))",
    "buildResult": "running",
    "buildResultPrevious": "failure",
    "buildResultDelta": "unknown",
    "notifyType": "buildInterrupted",

netwolfuk avatar Feb 09 '17 12:02 netwolfuk

buildResult needs to be set correctly and buildResultDelta calculated.

netwolfuk avatar Feb 11 '17 00:02 netwolfuk

This is available for testing in the v1.2.0-alpha.3 release.

netwolfuk avatar Sep 19 '19 10:09 netwolfuk