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

Load and Build only those components in which changes took place

 Hi All,



Am working on a setup where RTC build Definition is connected to Jenkins job for build.
  • We are implementing timely builds for a a team whose WorkSpace contains 50 components.Now,Tool fetches all the components and gets build successfully. 
I am looking for a solution where i can fetch the components in which changes happened and build. Lets say today team has worked on 5 components, tool should fetch only those 5 components and proceed for build.Is there any workaround to implement this? or any logical implementation is possible?

Any Suggestion on this would be a great help.

Thanks in advance,
Hareesh.

0 votes



One answer

Permanent link

If you are doing incremental build which only need to load changed files, you can uncheck "Delete directory before loading" load options in Jazz Source Control tab of the build definition.

If what you want to do is a full build with the changed components only, I think you need to write some script using scm command line. The scm command lines can compare the current build snapshot with previous snapshot to list the new change sets and changed files. Then using "scm load" to load the changed components in build workspace.

0 votes

Your answer

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
× 12,014
× 57
× 35

Question asked: Jan 14 '17, 10:05 a.m.

Question was seen: 2,942 times

Last updated: Jan 16 '17, 1:26 a.m.

Confirmation Cancel Confirm