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' |
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
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.