Add Cancel/Skip/Finish to Build Worker API

Victor Uriarte's Avatar

Victor Uriarte

17 Feb, 2017 06:00 PM

Would it be possible to extend the current `Build worker Api`(https://www.appveyor.com/docs/build-worker-api/#start-new-build) to add the following:

- Cancel current build-job. Allow script to call into Build Worker to cancel the current job if certain conditions are met and then mark the job as cancelled. Currently solutions seem to make build fail early.

- Finish current build-job with exit code. Similar to case above, but it allows for user to exit early with success or fail exit code.

Here's an example of the work around mentioned on the cancel current job (https://github.com/ogrisel/python-appveyor-demo/blob/master/appveyor.yml#L81-L89)

  1. 1 Posted by Victor Uriarte on 17 Feb, 2017 06:01 PM

    Victor Uriarte's Avatar

    Ignore the `skip` portion on the title. I forgot to remove that word.

  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:15 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac