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.
There were no changes to the configuration nor the repository. The plan was run initially and performed the checkout. Then, without any changes, it was run again. The plan is set up to do an update, not a clean build, but from the log snippet, it is running a clean directory
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.