We have bamboo 4.2.1 and using SVN as a repository. On our remote agents, whenever I execute a plan, bamboo is running a 'clean directory' operation. The plan and checkout task are NOT set force a clean checkout (ie - the checkbox to force a clean build is UNchecked and we are not doing an export). It should be running an update. On a local agent, we are not seeing this behavior, as it performs an update rather than a clean checkout, which is what we want. Why is the remote agent forcing a clean checkout and what can I do to make it do the update instead? This is absolutely a critical problem that needs to be resolved or we will not be able to use bamboo.
Look carefully at the log file to see if it is forcing a clean because the repository configuration is changed. For example if you build from a different branch that will cause the clean to be forced even though the "contents" of the workspace are more or less the same (same filenames and structure as occur in branches). Apologies if this does not apply.
|03-Sep-2013 11:37:21||Build BLDPRCSSBX-T5-CHECKOUT2-56 started building on agent BambooAgent2.ARGO.LOCAL|
|03-Sep-2013 11:37:21||Build working directory is C:\Atlassian\bamboo-agent-home-2\xml-data\build-dir\BLDPRCSSBX-T5-CHECKOUT2|
|03-Sep-2013 11:37:21||Cleaning directory C:\Atlassian\bamboo-agent-home-2\xml-data\build-dir\BLDPRCSSBX-T5-CHECKOUT2\Configuration|
|03-Sep-2013 11:37:28||Cleaning directory C:\Atlassian\bamboo-agent-home-2\xml-data\build-dir\BLDPRCSSBX-T5-CHECKOUT2\ADS|
|03-Sep-2013 11:54:17||Executing build BLDPRCSSBX-T5-CHECKOUT2-56|
|03-Sep-2013 11:54:17||Starting task 'Checkout ADS' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'|
|03-Sep-2013 11:54:17||Running preRetrieveSourceCode task...|
|03-Sep-2013 11:54:17||Updating source code to revision: 45642|
|03-Sep-2013 11:54:17||Working directory 'C:\Atlassian\bamboo-agent-home-2\xml-data\build-dir\BLDPRCSSBX-T5-CHECKOUT2\ADS' is empty. Checking out SVN URL 'svn://svnsrv1/Products/Apps/BuildProcessSandbox/trunk/ADS'|
|03-Sep-2013 13:26:17||Updated source code to revision: 45642|
I'm John Allspaw, co-founder of Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs