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

configure bitbucket as consumer in Jenkins

HI

New to Bitbucket integration with Jenkins, following the steps provided by this blog

https://plugins.jenkins.io/atlassian-bitbucket-server-integration/#:~:text=The%20Bitbucket%20Server%20integration%20plugin,Bitbucket%20to%20run%20the%20builds. 

 

Currently , managed add a Bitbucket instance into Jenkins 2.245. 

Was trying to  register Bitbucket Server as a consumer in Jenkins. 

Kindly advise where to get Consumer key,Consumer name,Consumer secrect and callback url 

1 answer

0 votes

Excepting the Callback URL, each of these fields are user-defined and can be any value you want.

For the consumer key, this needs to be a unique identifier for that particular applink- so long as it is unique in your Jenkins instance, it will work, but you may choose to use a UUID or similar.

The consumer name is simply a human-readable label for the consumer to help you identify it.

The consumer secret is a shared secret between Jenkins and Bitbucket used to verify a request from Bitbucket is genuine. The secret can have any format, but a strong password is recommended. Once you have entered this field, you will not be able to access it in Jenkins again, and you will need it when creating the applink it Bitbucket as well.

Lastly, the callback URL is the address that Jenkins will return to while authorizing Bitbucket. This typically will never be used, as a callback URL will be provided in any applink call to Jenkins, but you can set this to your base Bitbucket url.

Let me know if you have any other questions.

Integration between Jenkins and Bitbucket is working  in dev environment now.  thanks Martin

Suggest an answer

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

⭐ Calling all Bitbucket and DevOps experts: Special showcase opportunity ⭐

Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...

1,441 views 4 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