Full clone or just revisions?

As part of my build I have a 'Source Code Checkout' task. I do not have the "force clean build' checkbox checked.

When I run my builds I observe the following log, and in my mind the "Initialized empty Git repository" log message means "starting from fresh, going to clone the repo again".

What exactly is going on here? Fresh clone, or just "changes since last build"?

Perhaps since I'm using EC2, my elastic instance is destroyed between commits, thus it must re-clone the entire repo since the one from the previous build no longer exists?

27-Mar-2014 16:48:33 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
27-Mar-2014 16:48:33 Updating source code to revision: 77c67a3aa89d557b6e28fd285cc2aeb446d6be91
27-Mar-2014 16:48:34 Creating local git repository in '/home/bamboo/bamboo-agent-home/xml-data/build-dir/GRDCS-CSBETA-JOB1/.git'.
27-Mar-2014 16:48:34 Initialized empty Git repository in /home/bamboo/bamboo-agent-home/xml-data/build-dir/GRDCS-CSBETA-JOB1/.git/
27-Mar-2014 16:48:35 Fetching 'refs/heads/master' from 'https://bitbucket.org/myorg/myapp'.
27-Mar-2014 16:48:46 From https://bitbucket.org/myorg/myapp
27-Mar-2014 16:48:46 * [new branch] master -> master
27-Mar-2014 16:48:46 Checking out revision 77c67a3aa89d557b6e28fd285cc2aeb446d6be91.
27-Mar-2014 16:48:46 Already on 'master'
27-Mar-2014 16:48:47 Updated source code to revision: 77c67a3aa89d557b6e28fd285cc2aeb446d6be91
27-Mar-2014 16:48:47 Finished task 'Checkout Default Repository'

1 answer

This widget could not be displayed.

Hi Craig,

Yes, if you're not using EBS volumes, all data will be retrived again. To use EBS volumes and persist your data, please take a look at https://confluence.atlassian.com/display/BAMBOO/Configuring+elastic+instances+to+use+the+EBS

Lucas Lima

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

91 views 1 0
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you