Global Build Number
I would really like to see build numbers generated globally, preferably as a direct map between a hash derived from the current VCS root changesets and all their dependencies and an integer.
The big advantages of doing this are:
- If you do builds on multiple platforms, but using the exact same source configuration, you get the same build number.
- Build numbers can reliably used in version numbers.
- A single number reliably identifies a source code configuration. Currently, you need both the build task name and the build number - if you choose to go that way.
I recently built a system that manages it, and it has proven to be a wonderful platform to add in additional metadata, for example builds included in the current build, changeset descriptions etc.
See also:
- http://blog.fortified-bikesheds.com/2012/02/building-artifact-registry-service-part.html
- http://wiki.secondlife.com/wiki/Codeticket_Service
- http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/viewer-development-shining-fixes/rev/240571/index.html
Note that I was totally thrilled by the fact that TeamCity 7.0 now propagates changeset descriptions through snapshot dependencies. The super cool step would be to be able to "diff" two builds. Just imagine: you can take the previous release build, diff it with the current release build, and presto: instant release notes...
Please sign in to leave a comment.
A related feature I would love to see is being able to arbitrarily "diff" two builds.
The diff should show:
Just think how nice this would be to generate release notes. Just diff two release builds.
I've created a feature request to address build numbers that reflect unique sources state: TW-21162.