It's all about the answers!

Ask a question

Get current build result details using Java server API

vikrant kamble (1323796) | asked Jun 16 '19, 10:55 a.m.

 I am writing a follow up action on "Request Build (Server)" operation, when a build is requested I want my follow up action to wait until build is finished and then get the build result details, are there any java server API to get build result of currently executing build.

One answer

permanent link
Ralph Schoon (63.3k33646) | answered Jun 17 '19, 2:08 a.m.

A follow up action, as described in the Extensions Workshop, must execute the code as fast as possible and exit. It can not and must not wait for anything, because it would otherwise lock the database transaction and all other code that requires the transaction to be finished. 

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.