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