The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bamboo connection to Bitbucket Cloud - Test connection failing

Jon Starbird
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
May 31, 2019

I am setting up Bamboo to connect to our Bitbucket Cloud instance and everything works up until I click Test Connection. 

So I can connect, select a Repo, select a Branch all fine. 

Then I click Test Connection and it just says:

"We couldn't connect to the repository. The details you provided were invalid."

I have tried both SSH and username/password and it just keeps giving the same message.

Bamboo's logs are not showing anything so not to sure what is going on here. 

Any suggestions??

2 answers

2 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Jon Starbird
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 5, 2019

As someone else might hit this I wanted to update what was the final solution. 

After getting an update for Bamboo that was fixing an issue with BitBucket Cloud connnections which did not fix our issue I reached out to Atlassian support and they helped find the issue.

It turned out that the Temp folder used by Git via Bamboo was under the install folder of Bamboo itself. This is on Windows and the person who installed it had put it under Program Files and the Space there was causing a problem. 

I ended up having to change the JVM setting for the tmp folder:

-Djava.io.tmpdir=<some path without spaces>

0 votes
Answer accepted
Jon Starbird
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
May 31, 2019
TAGS
AUG Leaders

Atlassian Community Events