I am having issues. I have generated SSH key from the pipelines settings in the bitbucket settings for my pipeline repo, and added the pub key to the other repo I want to clone.
I then have my first step as:
- git clone firstname.lastname@example.org:organization/repo.git
And I am getting:
+ git clone email@example.com:organization/repo.git
Cloning into 'repo'...
Host key verification failed.
fatal: Could not read from remote repository.
Even though the docs say "Note that Bitbucket Pipelines automatically adds the fingerprint for the Bitbucket and GitHub sites to all pipelines" I still tried to add it to the known hosts in the pipelines settings. Even then, I still got the same error.
What do I need to do to get this working?
I've the same problem. And the funny thing that it worked before.
+ umask 000
+ GIT_LFS_SKIP_SMUDGE=1 git clone --branch="master" --depth 50 https://x-token-auth:$REPOSITORY_OAUTH_ACCESS_TOKEN@bitbucket.org/morningst101/portal_frontend.git $BUILD_DIR ; git reset --hard cad678d0edbcdfb8937ca46e05d8a554dc727707 ; git remote set-url origin firstname.lastname@example.org:morningst101/portal_frontend.git
Cloning into '/opt/atlassian/pipelines/agent/build'...
fatal: repository 'https://x-token-auth:$REPOSITORY_OAUTH_ACCESS_TOKEN@bitbucket.org/morningst101/portal_frontend.git/' not found
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs