Is it possible to create baseline on component automatically?
Hi team,
I am using RTC 7.0.2 and I am checking is it possible to create baseline on component automatically on schedule basis.
Please help |
3 answers
Ralph Schoon (63.6k●3●36●46)
| answered Feb 20 '23, 4:46 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Feb 20 '23, 4:48 a.m.
I don't know why you would want to create baselines on schedule. This sounds like potentially creating many redundant baselines.
RTC/EWM ships an SCM command line that can be used against the RTC server and execute pretty much all SCM operations, including creating baselines. Documentation: https://www.ibm.com/docs/en/elm/7.0.2?topic=reference-source-control-command-line
As Luca already mentioned, the Plain Java Client Libraries can be used to write automation tools including performing SCM operations.
A more useful automation mechanism is the creation of a snapshot in a public build. A snapshot is a collection of baselines.
Comments
Each time you create a new DNG baseline, you also end up with new version resource shapes that are published in the DNG TRS (Tracked Resource Set) and which get indexed in LQE (Lifecycle Query Engine). If you do this frequently on some kind of schedule through external automation, that creates a lot of additional data has to be indexed in LQE.
Common practices are to create a baseline when it represents a specific milestone. For example, in an agile methodoloigy, you might create a baseline at the end of each sprint.
The other thing to mention is that many baselines have a limited useful life. If you create them more frequently than once a sprint, you should actively manage these by archiving older baselines that are no longer required to prevent data published in the TRS from growing without limit.
Ralph Schoon
commented Feb 20 '23, 11:23 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
This was for EWM/RTC not DNG David. Fair enough. It's less of an issue for EWM SCM and RMM currently, because it only publishes such baselines if they are explicitly published to the TRS. Nevertheless, at some stage you'd want to archive old unwanted baselines to prevent data growth without limit.
|
I am not aware of any out of the box feature to automatically create baselines on schedule.
If you are experienced with plain Java API, there are the methods createBaseline, createBaselineSet, createMultipleBaselines of the IWorkspaceConnection interface.
|
David Honey (1.8k●1●7)
| answered Feb 20 '23, 8:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER See https://jazz.net/forum/questions/283162/can-we-able-to-create-dng-baselines-automatically-using-apis for your other question.
|
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.
Comments
Can we able to use API functionalities to create such baselines in DNG?