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: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events