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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.