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

Hi! i'm new into Jenkins. i am having issue with connecting git to Jenkins. issues are listed below.

Dilip Kumar Verma September 10, 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

Suggest an answer

Log in or Sign up to answer
0 votes
Lenin Raj
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 11, 2020

@Dilip Kumar Verma 

For accessing Bitbucket repositories, try using "Bitbucket Source Plugin" in Jenkins. Don't forget to setup the correct credentials.

More details in https://docs.cloudbees.com/docs/admin-resources/latest/plugins/bitbucket

TAGS
AUG Leaders

Atlassian Community Events