Hi, We have a CI environment that is on a network with limited bandwidth. This is being fixed but will take a little longer. We set the bamboo build repository settings to not do a clean build to improve the time since 1 of our repos is 3gb big. With the source code repo set to not clean, we still have times where it does do a full clean as shown below.
How can I prevent this? Would caching the repo on remote agents help this performance?
Any other suggestions other than the obvious of getting the network bandwidth fixed.
Thanks in advance
simple 09-Apr-2018 18:34:28 Updating source code to revision: 04bdcea37c7ca108a81cf4359b2f13903df6fe29
simple 09-Apr-2018 18:34:30 Fetching 'refs/heads/BranchName1' from 'https://github.com/Company/CompanyWeb.Net.git'. Will try to do a shallow fetch.
simple 09-Apr-2018 18:34:33 From https://github.com/Company/CompanyWeb.Net
simple 09-Apr-2018 18:34:33 + c44b08256c...1573aa7408 BranchName1 -> BranchName1 (forced update)
simple 09-Apr-2018 18:34:33 Checking out revision 04bdcea37c7ca108a81cf4359b2f13903df6fe29.
simple 09-Apr-2018 18:34:33 fatal: reference is not a tree: 04bdcea37c7ca108a81cf4359b2f13903df6fe29
error 09-Apr-2018 18:34:33 Checkout to revision 04bdcea37c7ca108a81cf4359b2f13903df6fe29 has failed.
simple 09-Apr-2018 18:34:33 Warning: failed to checkout source code to directory 'E:\bamboo-agent-home\xml-data\build-dir\LS-OWAPI-JOB1', trying to recover...
simple 09-Apr-2018 18:34:48 Cleaned source directory 'E:\bamboo-agent-home\xml-data\build-dir\LS-OWAPI-JOB1'...
simple 09-Apr-2018 18:34:48 Creating local git repository in 'E:\bamboo-agent-home\xml-data\build-dir\LS-OWAPI-JOB1\.git'.
simple 09-Apr-2018 18:34:48 Initialized empty Git repository in E:/bamboo-agent-home/xml-data/build-dir/LS-OWAPI-JOB1/.git/
simple 09-Apr-2018 18:34:49 Fetching 'refs/heads/BranchName1' from 'https://github.com/Company/CompanyWeb.Net.git'.