How to promote the snapshot by command line?
Accepted answer
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.
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>]