Teamcity %build.vcs.number% showing?
|
|
I am using TeamCity Enterprise 10.0.4 (build 42538) I am trying to use What i did, is going to the specific build and filled |
When i am running the build, the version showing ???
What is wrong? how can i make it show the %build.vcs.number%?
Please sign in to leave a comment.
How many VCS Roots do you have attached to the configuration? What kind of roots are they? (git, subversion, etc)
1 VCS root(git)
Can you show us a screenshot of how you have it configured? Do you overwrite the "build.vcs.number" parameter at some point during the build? I just did a test with this and it works just fine.
Yes. i have just found the place where his get override though the build process and figure out what was the problem.
So, I don't understand something,
do i suppose to overwrite this value through my build process?
or Teamcity should handle it through
Build number format:with%build.vcs.number% ?Glad you found it! You can use any of the methods, but if you use them combined, teamcity will initially apply the format you create on the configuration, then it will be overwritten by the steps if you overwrite it. The initial field is supposed to be a default, and will be used on every build initially, but you can also overwrite it in case you find it necessary through the build steps.