Passing Builder/Version information to an MSBuild agent
We’re using the MSBuild agent and I would like to pass in the build version information to the build file. Can this be done?
Our source control is Subversion.
I’ve looked at using the MSBuild Extensions to connect to Subversion to get the build version information. This works fine, but only if the checkout folder is associated to SVN. When I try running this from TeamCity...I get an error. The error is "...MasterTest2.msbuild LocalPath is not a working subversion copy."
Can this be resolved?
If not can I pass the TeamCity version information of my build to the MSBuild as a param?
Any other ideas?
Thanks
Callon
Please sign in to leave a comment.
If you are using "checkout on server" mode you won't get .svn folders on the agent because this mode works like export. Try to change checkout mode to "checkout on agent" (VCS settings page of the build configuration).
Thanks, that worked.
Callon