Is it possible to get the snapshot name in the build via ANT?
One answer
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.