Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

Failed to connect to repository : Command "/usr/bin/git ls-remote -h HEAD" returned status code 128:
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

@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

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events