Failed to prepare the build 'projectname- planname - Default Job
Asked by gopinath chilukuri:

Getting error in while running plan in Atlassian bamboo cloud. I unable to find the solution for this problem.

I searched in google ,found answer but not result. until today morning itself it is working after commiting few commits in github it is not working(giving build failure exception.)

below you can find the full exception details.

**Failed to prepare the build 'projectname- planname - Default Job**

|----------------------|------------------------------------------------------------------------------------------------------------------|
| 08-Dec-2015 01:28:54 | Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'         |
| 08-Dec-2015 01:28:54 | Build always requires a clean checkout                                                                           |
| 08-Dec-2015 01:28:54 | **Cleaning build directory 'C:\\build\\WYZ-WYZ-JOB1'**                                                           |
| 08-Dec-2015 01:28:54 | **Updating source code to revision: 5d5272d228be6583e81ca1ef9ddbdae888727aa3**                                   |
| 08-Dec-2015 01:28:54 | Updating source code to revision: 5d5272d228be6583e81ca1ef9ddbdae888727aa3                                       |
| 08-Dec-2015 01:28:55 | Updating source code to revision: 5d5272d228be6583e81ca1ef9ddbdae888727aa3                                       |
| 08-Dec-2015 01:28:55 | Task was canceled - 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout. |
| 08-Dec-2015 01:28:55 | **Failed to prepare the build 'project-plan- Default Job #2 (WYZ-WYZ-JOB1-2)'**                                  |
| 08-Dec-2015 01:28:55 | Running on server: post build plugin 'NCover Results Collector'                                                  |
| 08-Dec-2015 01:28:55 | Running on server: post build plugin 'Build Hanging Detection Configuration'                                     |
| 08-Dec-2015 01:28:55 | Running on server: post build plugin 'Clover Delta Calculator'                                                   |
| 08-Dec-2015 01:28:55 | Running on server: post build plugin 'Maven Dependencies Postprocessor'                                          |
| 08-Dec-2015 01:28:55 | All post build plugins have finished                                                                             |
| 08-Dec-2015 01:28:55 | Generating build results summary...                                                                              |
| 08-Dec-2015 01:28:55 | Saving build results to disk...                                                                                  |
| 08-Dec-2015 01:28:55 | Logging substituted variables...                                                                                 |
| 08-Dec-2015 01:28:55 | Indexing build results...                                                                                        |
| 08-Dec-2015 01:28:55 | Finished building PRO-PLN-JOB1-2.                                                                                |


Answers:
author: Mauro Badii
body: From answer <https://answers.atlassian.com/questions/32116318> a possible cause could be the location of the git executable and the directory listed in the Capabilities.

comments: author: Omprakash Thamsetty
body: Yes, I changed the git install path in capabilities. Its working fine for me with your solutions. Thanks


author: Jimmy Seddon
body: Thanks [@Mauro Badii](/t5/user/viewprofilepage/user-id/781640)!

Just ran into this issue myself and a quick google search brought me here.

This helped me get things back up and running before anyone really noticed!

-Jimmy


author: Brandon
body: This link doesn't seem to work, is there another link or would someone be able to paste how to fix this? I'm having the same issue and can't figure it out!


author: shane_d
body: I am getting the same error. Didn't change the build plan at all. Just getting this error all of a sudden. Bamboo is becoming increasingly unreliable.


author: Alexey Chystoprudov
body: Hello @gopinath chilukuri,

Please create request at [support.atlassian.com](http://support.atlassian.com) and our support engineers will be glad to help you


Tags: cloud