Search code examples
teamcityplasticscm

Teamcity VCS revision GUID


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.


Solution

  • 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