Details
Details
I have a couple questions with regards to Harbormaster and our workflow
- I would like to know if it's possible to cancel a harbormaster build when a differential review is abandoned
- Is it possible to send an HTTP request somewhere when said job is cancelled?
- Is it possible to cancel a harbormaster build if a new 'diff' is posted to a differential request? ( In other words; if I post an updated patch, can I just have a rule where the previous harbormaster build is just aborted and the new one goes in its place?)
Answers
Answers
There's no current support for automatically aborting/canceling builds; I don't remember a real request for this behavior (Locally, I've had users ask for it, but the need was driven from an artificially-limited build resources; Once that limit was fixed, the requests were gone).
There's no current support for sending an HTTP request for canceling a remote job; I've started writing it (D15958), but it's no longer a priority for me either. I'm not sure that it actually fits your request - maybe you want to invoke specific "build steps" as "cancel build" instead. It's also more intended for custom build steps, rather then the built-in "HTTP Request" step.
New Answer
New Answer