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

Recent Discussions

18 Aug, 2022 05:52 AM
12 Aug, 2022 08:39 PM
11 Aug, 2022 03:44 PM
07 Aug, 2022 05:11 PM
06 Aug, 2022 11:02 AM

 

03 Aug, 2022 10:03 AM
02 Aug, 2022 02:35 PM
29 Jul, 2022 06:45 PM
29 Jul, 2022 03:35 PM
22 Jul, 2022 03:16 PM
21 Jul, 2022 10:05 PM