It's all about the answers!

Ask a question

Request a build for a subset


Neville Aaron Alcantara (111) | asked Sep 17 '18, 5:23 a.m.
edited Sep 17 '18, 5:45 a.m.

 Hi,


Is there a way to request a build for your subset using RTC API? We were able to create and submit a generic build request but we can't find a way to attach a specific subset. Below is the code that we are using to request a build. Thanks.

IBuildRequestParams params = BuildItemFactory
.createBuildRequestParams();
params.setBuildDefinition(buildDefinition);
params.getNewOrModifiedBuildProperties().addAll(modifiedProperties);
params.setAllowDuplicateRequests(true);
params.setPersonalBuild(isPersonal);
params.getPotentialHandlers().add(buildEngine);
params.setStartBuild(true);

ITeamBuildRequestClient service = getTeamBuildRequestClient();
IBuildRequest buildRequest = service.requestBuild(params,
monitor.newChild(20));

Be the first one to answer this question!


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.