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

configure bitbucket as consumer in Jenkins

Aileen Tan July 22, 2020

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
Martin Henschke
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 22, 2020

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.

Aileen Tan July 27, 2020

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events