Why does my git checkout not work ?

I am running bamboo elastic solution and this is my log when doing a code checkout from my Git bitbucket account:
simple	23-Dec-2015 10:03:31	Starting task 'Checkout' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
simple	23-Dec-2015 10:03:31	Build always requires a clean checkout
simple	23-Dec-2015 10:03:31	Cleaning build directory 'C:\build\CON-TEST-JOB1'
simple	23-Dec-2015 10:03:31	Updating source code to revision: 4d35c967b3aecf2f6130ed21cb503b7b8069fb87
simple	23-Dec-2015 10:03:31	C:\cygwin\bin\git.exe version
simple	23-Dec-2015 10:03:31	Updating source code to revision: 4d35c967b3aecf2f6130ed21cb503b7b8069fb87
simple	23-Dec-2015 10:03:31	C:\cygwin\bin\git.exe version
simple	23-Dec-2015 10:03:32	Updating source code to revision: 4d35c967b3aecf2f6130ed21cb503b7b8069fb87
simple	23-Dec-2015 10:03:32	C:\cygwin\bin\git.exe version
simple	23-Dec-2015 10:03:32	Task was canceled - 'Checkout(4)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout.

not sure why its running "git version" for ?

if I do a git clone via a script it works fine and its downloaded 

 

3 answers

1 accepted

This widget could not be displayed.

Hi James, 

I found the answer below which looks very similar to your case. This looks to be related to a different version of Git between Bamboo Agent and Server. Please have a look:

https://answers.atlassian.com/questions/32116318/setting-up-for-bitbucket

 

Regards, 
Renato Rudnicki 

This widget could not be displayed.

I am assuming that's Windows, I am not familiar with the elastic thing. Are you sure the cygwin git works in bamboo? I have been always using Git for Windows.

This widget could not be displayed.

Firstly thanks for taking the time to respond.

Yes its windows, as for cygwin ... all the AWS elastic images provided by Atlassian has cygwin git installed so I assume it would work. The only versions that dont are old images running on 2008 servers but considering this is using their default image and their default run job then I am guessing that would work.

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

247 views 1 3
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