0

I am trying to retrieve the VCS revision GUID but I don't know where I can find it. I've searched in the Predefined parameters without success, any idea how can I get this GUID?

I should add that I am using PlasticSCM as VCS.

Wai Ha Lee
  • 8,598
  • 83
  • 57
  • 92
MaT
  • 1,556
  • 3
  • 28
  • 64

2 Answers2

1

The GUID is not shown in the predefined variables, but you can get it running:

cm find changeset where changesetid=build.vcs.number --format={guid} --nototal
Carlos Alba Zamanillo
  • 1,271
  • 1
  • 9
  • 11
0

The VCS revision included in the build is stored in build.vcs.number parameter.

Alina Mishina
  • 3,320
  • 2
  • 22
  • 31
  • Unfortunately this is not what I am looking for. This gives only a number like 239 but I am looking for the revision GUID. – MaT Oct 12 '15 at 23:41