Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

how to create a snapshot/baseline from a build script

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

0 votes



2 answers

Permanent link
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 ?

0 votes


Permanent link
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 ?

0 votes

Your answer

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jun 22 '11, 12:03 p.m.

Question was seen: 8,290 times

Last updated: Jun 22 '11, 12:03 p.m.

Confirmation Cancel Confirm