Forums

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

Jenkins/Bitbucket integration: Do we need to specific user authentication? How?

Baztheman June 13, 2019

Hi,

After I have imported the old repo into BB, I try to create a Jenkins build job to pull the code from the new repo. 

However I got stuck with Authentication issue. I am running Jenkins with jenkins userid. In command line, if I type "ssh bitbucket date", it will return the date just fine. Meaning, no password access works. Is this mean, I need to specific a specific user and password that exist in bitbucket server user group? I do not have a jenkins user in bitbucket server yet. Also, jenkins suppose to be a gloable service account, and doesnt have a password. What is the best way to do this? Is there anyway to create some sort of no password login like we will typically do with Jenkins server and git server?

Update: I just used an userid that belongs to a global user permission in BB, then define this credential in the newly create Jenkins job that point to the BB repo. It works. 

What is the best way to do this?

Thank you. Barry

Screen Shot 2019-06-13 at 2.50.34 PM.png

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events