I have a question about the Bamboo feature that can be set when defining a git repo from Stash called “Enable repository caching on remote agents”.
Can you give me some additional information on his this caching works? Does the main Bamboo server somehow maintain a cache that the agents use? or does each agent get a clone of the git repo and act as a cache for all other builds on that agent? Just wondering how to describe the benefits of this feature.
"So when a second agent wants to build the same set of code"
No, assuming "second agent" is a new remote agent, it will need to do an initial fetch. Subsequent builds will be faster though (at the cost of storage space)
"Does my Bamboo server now need to store a copy of the git repo?"
It always did, no change there, the option only refers to remote agents.
When cache is enabled, if you have multiple builds (including, but not limited to branch builds) that use the same repo, the initial full fetch of the repo will happen only once per remote agent. Otherwise each build will issue a separate remote fetch.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...
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