Need to access build counter from within ant

Currently teamcity only provides the ${build.number} property. However there are certain tasks where I need only the build counter.
The build counter should also be exposed as a property.

1 comment
Comment actions Permalink


yes, we don't have such a property at the moment. I see two options:

  1. Parse full number within your script.
  2. Do not modify build number format, but replace the number from the script using a service message.



Please sign in to leave a comment.