It's all about the answers!

Ask a question

How to promote the snapshot by command line?


Xue Qin Tang (7153) | asked Jun 15 '11, 6:11 a.m.
edited Oct 11 '17, 10:56 a.m. by David Lafreniere (4.8k7)

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.

Accepted answer


permanent link
Ralph Schoon (63.3k33646) | answered Jun 15 '11, 7:00 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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

Comments
Ralph Schoon commented Jun 15 '11, 7:02 a.m. | edited Oct 11 '17, 10:56 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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-)


David Lafreniere commented Oct 11 '17, 10:57 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

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