I've been trying to understand the versioned settings feature for a while, and while I have moments where I think I get it and think that I can make use of it, it turns out it doesn't do what I expected.
In any case, I'd like clarification on the versioned settings options in the project settings:
- always use current settings
(Builds use current project settings from the TeamCity server. Settings changes in branches, history and personal builds are ignored.)
- use current settings by default
(Builds use current project settings from the TeamCity server. Users can run a build with settings from VCS via the run custom build dialog.)
Specifically, the second option mentions that the user can run a build with settings from the VCS... however, I don't see how this is different from the 'current project settings from the TeamCity server'. Whenever there's a change in the project settings, it gets sync'ed to the configured VCS, and vice versa. So aren't the two always 'in sync', therefore there's no difference which one the build runs off of?
Being able to run off the VCS would be great if you can actually select a specific point in the history of the project settings that you'd like to use, but that is not possible in the 'custom build dialog'. The only thing close to that seems to be re-running an old build and using the project settings at that point in time.