Forums

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

Bitbucket Pipeline Push Back To Repo Failing

rrahman24
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 22, 2018

I have a pipeline that updates the version number and tries to push back to. In the SSH keys section the said repository I am generating an ssh key, and even added known hosts. But I keep getting the below. 

 

The following post https://community.atlassian.com/t5/Bitbucket-questions/Problem-getting-BitBucket-Pipelines-to-commit-back-version/qaq-p/760022 does NOT solve the problem. I even generated my own ssh keys, still no dice. What am I missing?

 

Do I have to put the ssh key in my script? Please help. I just blew through 30 minutes of my build time, still haven't figured it out.

 

fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.

 

1 answer

0 votes
Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 2, 2018

Hi Ramon,

Did you try follow Linette and Bryan's conversation on that post? It's near the bottom of the question you linked: https://community.atlassian.com/t5/Bitbucket-questions/Re-Problem-getting-BitBucket-Pipelines-to-commit-back-ve/qaq-p/821368/comment-id/28580#M28580

The SSH key should already be injected automatically.

We've also got some work in progress that should remove all this configuration. This is expected to be available before the end of the year. If this isn't urgent config you need, you can also wait until the feature is available to use. You can following this ticket for more information: https://bitbucket.org/site/master/issues/13213/push-back-to-remote-from-pipelines

Thanks,

Phil

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events