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'|
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
Since launching the Jira Software 8.0 and Jira Service Desk 4.0 platform releases in February, many of you have been asking when the next Enterprise release will be so you can take advantage of the m...
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