tcWebHooks
tcWebHooks copied to clipboard
Set webhook payload items to something more relevant for cancelled builds
Can't see webhooks for cancelled jobs
I'm not sure what you are expecting to see. Can you please give more detail?
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
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",
buildResult needs to be set correctly and buildResultDelta calculated.
This is available for testing in the v1.2.0-alpha.3 release.