An API to update a build status to _Failed_

damien.osullivan's Avatar

damien.osullivan

14 Mar, 2019 03:09 AM

Hey,

We have recently moved some of our testing outside of our AppVeyor build. We moved it to a distributed testing fleet in order to it speed up. We halved our build time as a result.

Now we have an interesting problem when our test suite fails. Before AppVeyor would fail, and the status would be failed. Now, the tests fail on our fleet, and we have no way of knowing when looking at AppVeyor. This is a problem as we use AppVeyor to determine the last successful build for us to deploy from.

I am wondering is there any way we could update AppVeyor's status? An API call, something like

POST /api/builds/{buildId}
{
    'status': 'failed' # or 'failed-external'?
}

This would help everything in AppVeyor. Thanks

  1. Support Staff 1 Posted by Ilya Finkelshte... on 15 Mar, 2019 08:41 PM

    Ilya Finkelshteyn's Avatar

    Hi Damien,

    Sorry for some delay with the answer and thank you for the request. We treat build status as immutable. To solve this and similar problems we plan to introduce searchable tags/annotations to many objects like build, build jobs, deployments, etc. Setting those tags with API will be possible as well. Cannot provide specific ETA now.

    I am not sure I can provide you a workaround for now. Is that external test execution can be checked with some API from AppVeyor build?

    Ilya.

  2. Ilya Finkelshteyn closed this discussion on 15 May, 2019 09:01 PM.

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

21 Aug, 2019 11:06 PM
21 Aug, 2019 02:08 PM
21 Aug, 2019 01:37 PM
21 Aug, 2019 10:21 AM
21 Aug, 2019 09:10 AM

 

21 Aug, 2019 05:56 AM
21 Aug, 2019 03:08 AM
20 Aug, 2019 11:33 PM
20 Aug, 2019 08:07 PM
20 Aug, 2019 05:50 PM
20 Aug, 2019 12:35 PM