In Bamboo, is there any way to avoid multiple source code checkout, as my repository size is more than 4GB, it is not feasible to checkout the repository everytime a new job is created. I tried artifact sharing,but i need my whole repository for the build. Any alternative to checkout the repository once and use it for the whole plan under different stages and jobs??..
Hi Bharath,
I couldn't think of source code checkout sharing after a build. However I would suggest you to cleanout after the plan finished building. You could do it by checking "Clean working directory after each build" option in "Miscellaneous" in Job settings.
Hi Rian,
Thanks for the suggestion. This works out well for saving your space on the hard disk. But every time u run the plan we still have to checkout the whole repository increasing the Build time. As checking out my source repository takes approx 3-4 hrs, rather i would not make a clean build and keep updating it all the time i run it with the cron of space.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bamboo doesn't natively support it but there is nothing saying that you have to use the working directory to run your jobs/tasks in, it is simply the starting directory for relative references. You could "hack" it to run in your own folder structure (use absolute references or atleast go up a directory or two) and use the dynamic bamboo variables, primarily ${bamboo.buildKey}, to have distinct folders per plan/branch. You'd need to point to the same directory in each job/task in each stage to achieve this but that is relatively little overhead considering.
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.