Include build number & revision into an artifact

In the .teamcity folder of each build there are

  • build.start.properties.gz
  • build.finish.properties.gz

files that contain — among other values — the build & revision number of the respective build. How can I move these files in their unzipped version to a WAR that is generated during the build process?

Or is there any other way to include the build & revision number into the WAR of an artifact?

1 comment
Comment actions Permalink

Any hints or just an advice where or for what I should look?

0

Please sign in to leave a comment.