Forums

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

Hi, I'm Dilip. I am facing some issues while connecting from Jenkins to BitBucket. Issues are listed

Dilip Kumar Verma September 11, 2019

Failed to connect to repository : Command "/usr/bin/git ls-remote -h git@bitbucket.org:osgtrident/engage.git HEAD" returned status code 128:
stdout:
stderr: Forbidden
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

1 answer

0 votes
jredmond
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 11, 2019

Do you have any sort of firewall or proxy between Jenkins and Bitbucket? Does Jenkins have a valid SSH key for this request? Is that key associated with an individual user with the appropriate level of access, or is that key set as an access key for the repo in question?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events