It's all about the answers!

Ask a question

Request build on specified build engine with buildproperties

Mike Brouwers (341218) | asked Oct 08 '14, 2:05 p.m.

in the RTC api we have  ways of starting a build

ITeamBuildRequestService.requestBuild(IBuildDefinitionHandle, IBuildProperty[], IBuildProperty[], boolean, boolean) and 
ITeamBuildRequestService.requestAndStartBuild(IBuildDefinitionHandle, IBuildEngineHandle)

Is there a way to set the buildEngine and still be able to set the buildproperties?


Mike Brouwers commented Oct 08 '14, 2:16 p.m.

Or do I need to run 

ITeamBuildRequestService.claimRequest(IBuildRequestHandle, IBuildEngineHandle, String[])?

Will that guarantee that it will be ran on the specified buildEngine if I execute this immediately after ITeamBuildRequestService.requestBuild?

One answer

permanent link
Mike Brouwers (341218) | answered Oct 08 '14, 5:15 p.m.
 Nevermind, I figured it out by using IBuildRequestParams.

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.