Versioned settings -- difference between 'current project settings' and 'settings from VCS'

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.

1 comment
Comment actions Permalink

Hello,

If you select "use current settings by default" option and run a custom build, then on Changes tab you are able to select "Use settings from VCS". In this case the project settings corresponding to the same VCS root revision will be used. So you can reproduce a history build with project settings corresponding to the moment of the selected change.
The "always use current settings" option means that the build will run on selected changes, but current TeamCity project settings will be used.

0

Please sign in to leave a comment.