TeamCity plugin always causes a clean checkout
MrJul
Posts: 2
As soon as the RedGate TeamCity plugin is installed, all started builds now contain the following log line:
Clean build enabled: removing old files from \BuildAgent\work\[...]
This causes a full checkout on every build, which takes time, and automatically rechecks the "clean all files before build" in the build configuration even if it was unchecked before. Note that the plugin isn't even used in any build. Its mere presence causes this behavior. Uninstalling the RedGate plugin it from the TeamCity server resolves the problem immediately.
From TeamCity developer (at http://youtrack.jetbrains.com/issue/TW-23391):
Clean build enabled: removing old files from \BuildAgent\work\[...]
This causes a full checkout on every build, which takes time, and automatically rechecks the "clean all files before build" in the build configuration even if it was unchecked before. Note that the plugin isn't even used in any build. Its mere presence causes this behavior. Uninstalling the RedGate plugin it from the TeamCity server resolves the problem immediately.
From TeamCity developer (at http://youtrack.jetbrains.com/issue/TW-23391):
Please contact RedGate guys with this problem. Most likely somewhere in the code they have smtg like: BuildType.setOption(BuildTypeOptions.BT_CLEAN_BUILD, true). Not sure why they do this by they obviously forget to call BuildType.persist() so that this setting is changed on disk too.
Comments
http://downloads.red-gate.com/EAP/openMe/openMe.zip
Let us know if you have any further problems,
David