It's all about the answers!

Ask a question

how to create a snapshot/baseline from a build script


Franck Desperques (611) | asked Jun 22 '11, 12:03 p.m.
We are trying to create automatic snapshot/baseline from a maven script using antrun. Where can we find an example of such script ?

2 answers



permanent link
Shashikant Padur (4.2k27) | answered Jun 23 '11, 6:42 a.m.
JAZZ DEVELOPER
You could use the scm command line tool to create the snapshot/baseline. The scm tools is located at <RTC_install_dir>/scmtools.

scm create snapshot - creates a snapshot associating it to a workspace
scm create baseline - creates a baseline in the workspace

We are trying to create automatic snapshot/baseline from a maven script using antrun. Where can we find an example of such script ?

permanent link
Walter Mansur (63613017) | answered Jun 23 '11, 9:45 a.m.
Hi,

I am also interested in doing this.

The following is from the RTC help:

Create a baseline named "beta2 updates" for all components in the repository workspace named HelloJazz, using stored credentials for the repository nicknamed jazzhost:

C:\>scm create baseline -r jazzhost --all HelloJazz "beta2 updates"


So, you would just put that command in your script.

Hope this helps,

- Walter

You could use the scm command line tool to create the snapshot/baseline. The scm tools is located at <RTC_install_dir>/scmtools.

scm create snapshot - creates a snapshot associating it to a workspace
scm create baseline - creates a baseline in the workspace

We are trying to create automatic snapshot/baseline from a maven script using antrun. Where can we find an example of such script ?

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.