It's all about the answers!

Ask a question

possible to change the Snapshot Name in advance


Natarajan Thirumeni (53145) | asked Aug 20 '12, 10:12 a.m.
retagged Sep 17 '12, 11:15 a.m. by David Brauneis (50611)
Is it possible to change the Snapshot Name in advance, customer already set the tag and buildResult, but the snapshot needs to be a better name! Is this supported ?

According to docs,
http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0/topic/com.ibm.team.build.doc/topics/r_teamaccept.html

One could use the below property "snapshotName" but this does not seems to work. 

The name of a snapshot to create from the workspace, after the change sets have been accepted. If this attribute is provided, then buildResultUUID must also be provided. If provided, the build result is updated with the build snapshot information. This enables the build workspace to be recreated at a later time from the build result. At most, set this attribute for one invocation of this task per build. Build results cannot have more than one snapshot associated with them. This task throws an exception if the build result already has a snapshot associated with it.

Any idea or suggestion would be great help! thank you.

Accepted answer


permanent link
Nick Edgar (6.5k711) | answered Sep 18 '12, 2:34 p.m.
JAZZ DEVELOPER
The snapshotName property is only applicable if you're using the teamAccept Ant task to create the snapshot.

There is an existing enhancement request to allow the snapshot name to be customized: Support property to specify snapshot name format (113600)
Natarajan Thirumeni selected this answer as the correct answer

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.