Possible bug in svn vcs plugin
I Think there is a bug in the svn plugin possibly other VCS plugins as well.
When you execute teamcity via wget as documented in
http://confluence.jetbrains.net/display/TCD6/Accessing+Server+by+HTTP#AccessingServerbyHTTP-TriggeringaBuildFromScript
for example :
wget http://username:password!@teamcityserver/httpAuth/action.html?add2Queue=bt4&system.name=TAG_NUMBER&system.value=3.6.9.2
Build definition bt4 queues with the System parameter TAG_NUMBER set to 3.6.9.2
If you create a command runner step with echo %system.TAG_NUMBER% the result will yield 3.6.9.2
However in the svn VCS plugin if you add a check out rule +:%system.TAG_NUMBER%=>.
which says only checkout %system.TAG_NUMBER% and send it to the root of the BuildAgent working directory
it will not work.
Furthermore if you preinitialize system.TAG_NUMBER to say 3.6.9.1 the svn VCS plugin will
pull from the 3.6.9.1 subdirectory yet the rest of the build will have 3.6.9.2 as the value
of system.TAG_NUMBER.
Any work arounds would be appreciated.
Please sign in to leave a comment.
Please submit a bug report to our tracker. The problem is that parameter values stored within build are not used when changes are collected (values from build configuration are used instead). I hope we'll address this issue in 6.5.
Created a Bug Report TW-15766