RTC Jenkins - Load & Build Options only for changed components.
I have a query relating to Jenkins loading : Let’s assume build has already happened for one of the repository workspace. Now the developer will make a change in specific component and give a build again.
I am specifically looking for a mechanism where only the changed components are detected (from e.g. repository workspace) and built, instead of loading & building all components.
Thanks in advance.
One answer
There are two parts to your query:
1. A mechanism to load only a subset of components
2. A mechanism to build only a subset of components
For #1 you could uncheck the "Delete the directory before loading" option to prevent a full load. In this case a reload would happen for those files which has changed either locally or in the remote workspace. Reload could also take some time, depending on the number of components in the workspace and their size, as we have to go through the contents of all the loaded components to do some checks in order to determine what has changed both locally as well as in the remote repository workspace.
For #2 EWM(RTC) can provide the list of changes that went into the build. It is on the build scripts to use this detail and do a selective build. To determine the changes accepted in a build you could use the generateChangeLog ant task - https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.team.build.doc%2Ftopics%2Fr_generatechangelog.html.
Comments
Sridevi Sangaiah
JAZZ DEVELOPER May 31 '19, 4:51 a.m.Raj Kumar
Jul 15 '19, 3:26 a.m.Sridevi Sangaiah
JAZZ DEVELOPER Jul 15 '19, 6:20 a.m.Raj Kumar
Jul 16 '19, 1:01 a.m.