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

How to promote the snapshot by command line?

We are loading source code from RTC and run the build locally using our scripts. After the build, we will create a snapshot in local workspace.

We can promote the snapshot manually in RTC UI, but want to use it by command line.

How?

Many thanks.

0 votes


Accepted answer

Permanent link
We are loading source code from RTC and run the build locally using our scripts. After the build, we will create a snapshot in local workspace.

We can promote the snapshot manually in RTC UI, but want to use it by command line.

How?

Many thanks.


Hmm, didn't I answer this already?

However, this is available in 3.0.1 with the scm command line using scm promote snapshot. See: http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0m1/topic/com.ibm.team.scm.doc/topics/r_scm_cli_snapshot.html

I doubt it was in older versions, but you could check the help.
David Lafreniere selected this answer as the correct answer

0 votes

Comments

Yes, I did: https://jazz.net/forums/viewtopic.php?t=17552

There is a really cool search capability available to search the forums too 8-)

Also see:

scm set attributes -s/--snapshot <arg> [--snapshot-workspace <arg>] ([--name
                   <arg>] [--description <arg>] [--ownedby <arg>])
                   [-r/--repository-uri <arg>] [-u/--username <arg>
                   -P/--password <arg> | --certificate <arg> -P/--password
                   <arg> | --smartCard -u/--username <arg>]

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
× 12,019
× 1,202
× 158
× 113
× 74
× 7

Question asked: Jun 15 '11, 6:11 a.m.

Question was seen: 6,495 times

Last updated: Oct 11 '17, 10:57 a.m.

Confirmation Cancel Confirm