Is there a way for TeamCity to pass the last attached build number to the current build build phase?

I would like to transfer the last gated build number to my TeamCity build step. I did not see a system parameter that could pass, as I do with the current build number.

Is there a parameter for this that I have not seen? Or is there a way to get the version number from the URL? - thank

+5
source share
2 answers

Unfortunately, I could not find a way to transfer the attached assembly information to my TeamCity build step - this is really what I would like to do.

, , - TeamCity , REST API. API XML, , .

:

http://<buildserver>/httpAuth/app/rest/builds/?locator=pinned:true
+1

TeamCity , .

:

http://confluence.jetbrains.net/display/TCD6/Predefined+Build+Parameters

, TeamCity, build.number

-

, RSS- " " TeamCity. powershell script shell script RSS . RSS-, ... , RSS, .

-

. MySQL , MySQL. , , .

0

All Articles