I have tried all sorts of ways to add my bitbucket cloud repo to my bamboo and nothing works. Like simple stuff doesn't work. Cant add as bitbucket cloud, can't add as a git. It always says there is a problem with either the username or something else. I have spent hours tried to resolve this. I am running bamboo 7.0.4 on ubuntu. I have tried the manual git route with ssh: We couldn't connect to the repository. The details you provided were invalid. With username and password, another issue.
Hi @jiggi21 ,
Using Bobswift's Bamboo Command Line Interface, you can add a bitbucket cloud repository as a linked repository as a GIT using shared credentials to your Bamboo instance. Please use the action command as given below.
--action addRepository --repository "Bitbucket Cloud linked repo" --repositoryKey GIT --field "repository.git.repositoryUrl=https://bitbucket.org/Reshmabegum/test" --fields repository.git.sshCredentialsSource:SHARED_CREDENTIALS,repository.git.authenticationType:PASSWORD,repository.git.branch:master --credentials "cloud"
Please refer to the page Examples for AddRepository Action for more information.
Let me know if you have any questions. Hope it helps!
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events