FrinkTheBrave
FrinkTheBrave

Reputation: 3958

How do i create an RTC Baseline on a component in a stream using scm.exe?

After building software from files from an RTC stream, I want to create a baseline of the component as a record of the state of the files.

It needs to be automated, hence the use of SCM.

I want to create it in a single step if I can, i.e, not create baseline on the component in a workspace, then deliver it.

I can create a baseline on a component in a workspace using: scm.exe create baseline -r Repository -u username -P password "workspace" "Baseline name" "Component name"

Alternatively, how can I automatically deliver the baseline in the workspace above, or should I be using snapshots?

Upvotes: 0

Views: 176

Answers (1)

VonC
VonC

Reputation: 1325137

I am not aware of creating a baseline in a single step.

If you can create it in a dedicate workspace with, as a default flow target, the right stream, you should be able to call scm deliver (examples), as mentioned here:

 scm deliver: scm deliver -r <repo> -s <source_stream> -t <target_stream> -b <baseline_uuid_or_name> 

Or simply:

scm deliver -C <component>

Since it would deliver all changesets and baselines for that component.

Upvotes: 1

Related Questions