Request a build for a subset
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));