Page MenuHomePhabricator

Are harbormaster builds cancellable?
Closed, ResolvedPublic

Asked by jsturgeon on Jul 19 2016, 5:26 PM.

Details

I have a couple questions with regards to Harbormaster and our workflow

  1. I would like to know if it's possible to cancel a harbormaster build when a differential review is abandoned
    1. Is it possible to send an HTTP request somewhere when said job is cancelled?
  2. 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

avivey
Updated 3,012 Days Ago

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

Answer

This question has been marked as closed, but you can still leave a new answer.