MaT
MaT

Reputation: 1606

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.

Upvotes: 0

Views: 146

Answers (2)

Carlos Alba Zamanillo
Carlos Alba Zamanillo

Reputation: 1319

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

Upvotes: 1

Alina Mishina
Alina Mishina

Reputation: 3380

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

Upvotes: 0

Related Questions