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

Load workspace with changed components Only

 We are using RTC as SCM tool. Have very huge codebase(around 40K sources and 100 components). We are using Jenkins CICD pipeline to checkout sources.

              The process is

              Development team delivers sources to RTC stream. Build Workspace is attached to the stream. When the checkout step happens from Jenkins all the components from the stream are checked out. Is there anyway, where we can checkout only changed components ? This is taking huge time to checkout whole workspace.

              Or is there any API where we can compare 2 RTC workspaces and get only changed components? This we need to do in scripting.

              Appreciate your reply as this is hampering most of the stuffs.

1 vote

Comments

This is urgent. Can anyone from Jazz team please advise on this ? 

Hi
You can use any of the following two options to only download the incremental changes into the sandbox.


Check step 12.m

You can use "Do an optimized incremental load" under certain conditions. You will need build toolkit version 7.0.1 and Team Concert Plugin 2.1.0 and build definition in the Jenkins job configuration.

 Thanks for the reply Laksmi.


The requirement here is the Workspace is not used for the Build purpose. The Workspace is designed to checkout sources during Jenkins RTC integration. All the components get checked out to RTC ws and the Jenkins workspace. 

checkout([$class: 'RTCScm', avoidUsingToolkit: false, buildTool: 'RTC_Latest_Linux', buildType: [buildWorkspace: "Ws name", customizedSnapshotName: '', loadDirectory: '', value: 'buildWorkspace'], credentialsId: abc, overrideGlobal: true, serverURI: "${SCM.RTCurl}", timeout: 480])


Our intention is, with the above checkout command, only Changed components should get Checked out and not the whole workspace.

Hi
At this moment, the support for optimized incremental load is only available for build definition configuration. If you upgrade to 7.0.1 and use a build definition, you will get  this support out of the box.



One answer

Permanent link

Please see Lakshmi's comments as an answer.

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,023
× 382

Question asked: Jul 23 '20, 1:32 p.m.

Question was seen: 2,020 times

Last updated: Aug 03 '20, 3:04 a.m.

Confirmation Cancel Confirm