Setting Build Number of Grails Project

I would like to use the Grails internal versioning system ala "grails set-version" to match the deployed build ID. Is this possible with TeamCity? If so, how?


1 comment
Comment actions Permalink

Hello John,

There is predefined property "build.number" you could refer to and set custom build number. Please see Properties of Build Configuration section for more details.
You could also change it using service messages, for details please refer to the section in our documentation.

If none of the options does not suit you, please describe in detail what you need.

Kind regards,


Please sign in to leave a comment.