Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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));

0 votes


Be the first one to answer this question!

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 457

Question asked: Sep 17 '18, 5:23 a.m.

Question was seen: 752 times

Last updated: Sep 17 '18, 5:45 a.m.

Confirmation Cancel Confirm