We have a self hosted bitbucket instance, and a self hosted bamboo server, and I want to be able to pull code using bamboo. However, ssh is disabled at an organizational level, and I figured I would be able to pull code over https. I can't find any way to do this, am I missing something?
I have a username and password in shared credentials, and manually set up a linked git repository using `https:....`
error: cannot spawn sh: No such file or directory
error: cannot spawn sh: No such file or directory
fatal: Authentication failed for ${repository url}
Any tips for getting this to work?
It works only if you configure pure Git repository at Bamboo side, not Bitbucket Server repository type.
Thanks for your reply, but that's what I have done. You call it a "pure git repository" but I referred to it as "linked git repository." I believe we are talking about the same thing. I am puzzled why if "cannot spawn sh" then it says "authentication failed for repo" and it locks the account after 5 tries.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What Bamboo says when you click Test connection button on linked repository setup?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
error: cannot spawn sh: No such file or directory
error: cannot spawn sh: No such file or directory
fatal: Authentication failed for 'https://{shared_credentials_account_name}@{repo_host}/scm/{project}/{repo_name}.git/'
To be clear, on this linked repository I have the following:
Repository host: Git
Could this possibly be related to how I had configured as Bitbucket Cloud server before? I noticed this morning under Build Resources > Repository Settings, the repo had a ssh url, so I deleted the cache directory, but it didn't fix the issue. The new "cache directory" has an https url, as expected, but doesn't change the output of "test connection." Maybe I have a lingering config... (git remote?) I will dig around tomorrow. I am probably stupid and need to add "sh" to path on the bamboo server :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would suggest you to create support request at support.atlassian.com and help our engineers to gather more info about your environment and provide solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.