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

Hi

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.


Michael

0

Please sign in to leave a comment.