Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jenkins not connecting to Bibucket Server

I've been trying to create a BitBucket Server instance on Jenkins by doing the following:

 

1.  Create a personal access token on Jenkins

2. Create a bitbucket server instance on Jenkins (url set to http://localhost:7990)

3. Add in the PAC and credentials

 

When I click on "Test Connection", it tells me "Could not connect to remote server, please ensure url is correct and server is running".

 

I'm able to open BitBucket Server by using that url in a browser, is there another configuration that I'm missing? Could it be a proxy issue?

1 answer

Yes, it definitely can be a proxy or SSL issue or network firewall issue between the agent(Jenkins) and BB. 
Try enabling debugging on Jenkins and get some logs from there.
You can also try testing SSL with this snippet.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,878 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you