It's all about the answers!

Ask a question

Is it possible to create baseline on component automatically?


KT PD (59310) | asked Feb 20 '23, 3:09 a.m.

 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


Comments
KT PD commented Feb 20 '23, 5:42 a.m. | edited Feb 20 '23, 8:08 a.m.

 Can we able to use API functionalities to create such baselines in DNG?

3 answers



permanent link
Ralph Schoon (63.6k33646) | 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
David Honey commented Feb 20 '23, 11:13 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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.

 


David Honey commented Feb 20 '23, 12:28 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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.


permanent link
Luca Martinucci (1.0k397112) | answered Feb 20 '23, 3:34 a.m.

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, createBaselineSetcreateMultipleBaselines of the IWorkspaceConnection interface.


permanent link
David Honey (1.8k17) | answered Feb 20 '23, 8:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Comments
Ralph Schoon commented Feb 20 '23, 8:11 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

This here is in the context of RTC/EWM. 

Your answer


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