I am finding a lot of answers to this question, but I am unable to get it to work so far. I am wondering if there are other tools or ways I can use to see where/how I am not getting access. And how I can try to figure out how to get this to work. Also, the firewall is turned off too, so there should be nothing stopping them from connecting. I also have it listed in the repositories...
This is the error I am getting:
ECMDERR Failed to execute "git ls-remote --tags --heads ssh://bitbucket.ourcompany.org:7999/manage/documents.git", exit code of #128 Host key verification failed. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
The strange thing is that I can reference our bitbucket server when creating bamboo build plans, and I have run this command through git bash on our bamboo server and no longer getting any errors. I have created SSH keys and added it to my user account on Bitbucket, and adding it to our bamboo server. I also added them to 'Trusted Sites'.
Is the Bamboo repository created with Repository host "Git" or "Bitbucket Server / Stash"?
What is your Bamboo version?
We are using Bitbucket Server/Stash...not that it would/should. I created the SSH Key on the bamboo server, and added the key to the bitbucket project, and it is in the ssh keys on bamboo....Version 6.5.0/Build number 60509. I am able to include the project in my tasks in bamboo, but when running a bower install, it cannot run.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
All tasks, apart from Source Code Checkout task, will not use the SSH key stored in Bamboo database.
Please use Source Code Checkout task to perform any checkout first.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We do...source checkout is the first step we have. That is where we are getting bit bucket to get our project...the first step...
2) Script option - script is the following
NuGet.exe restore xxxx.site.sln
3) script again.... this is within our visual studio project
cd .\code
bower install
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
bower install command will install dependencies listed in bower.json file.
Edit the bower.json file so that it will refer to the local files (that have been checkout) instead of the Git repository URL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.