It's all about the answers!

Ask a question

Is it possible to get the snapshot name in the build via ANT?


Karthik Krishnan (8805112159) | asked Jun 30 '15, 10:49 a.m.
edited Jun 30 '15, 10:54 a.m.
Is it possible to get the snapshot name in the build via ANT?

I can get the snapshot UUID but not the name.

RTC 5.0.2 is what we use

One answer



permanent link
Lily Wang (4.9k714) | answered Jul 01 '15, 8:13 p.m.
Per document http://www-01.ibm.com/support/knowledgecenter/SSYMRC_5.0.2/com.ibm.team.build.doc/topics/r_buildprop.html you can only get snapshot's UUID from build properties.

As the snapshot is created on build workspace, a workaround is using "scm list snapshot -m 1 <build_workspace_uuid>" to get the snapshot name created during the build.

Your answer


Register or to post your answer.