Red Gate forums :: View topic - TeamCity plugin always causes a clean checkout
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Compare 10
SQL Compare 10 forum

TeamCity plugin always causes a clean checkout

Search in SQL Compare 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message
MrJul



Joined: 26 Sep 2012
Posts: 1

PostPosted: Wed Sep 26, 2012 10:17 am    Post subject: TeamCity plugin always causes a clean checkout Reply with quote

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 D:\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):
Quote:
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.
Back to top
View user's profile Send private message
nforss



Joined: 16 Oct 2012
Posts: 2

PostPosted: Tue Oct 16, 2012 7:24 am    Post subject: Reply with quote

I have the same problem. This is really annoying as it causes the build to take a few minutes longer than necessary.
Back to top
View user's profile Send private message
DavidSimner



Joined: 04 Feb 2010
Posts: 49

PostPosted: Mon Oct 29, 2012 1:51 pm    Post subject: Reply with quote

We've fixed this bug in today's release (0.0.3.463). It will now only enable the clean build option for builds that use our runner, leaving all other builds untouched. You can download the fixed build from:

http://downloads.red-gate.com/EAP/openMe/openMe.zip

Let us know if you have any further problems,

David
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group