AWS Code PipeLine not getting all repository of BitBucket account

Viewed 3402

I am using AWS CodeBuild and CodePipeline service to implement CI/CD in my project.

AWS CodeBuild using Bitbucket I am getting all repository of my Bitbucket account.

While Creating CodePipeLine and connect with my BitBucket, I can't get all repository of my BitBucket account.

  • I have admin access to BitBucket.

  • AWS CodeStar injected successfully in Bitbucket

So is there any extra setting need in the BitBucket account for implement AWS Codepipeline?

3 Answers

CodePipeline uses a Bitbucket App installed on your Bitbucket account to access repositories. Currently Bitbucket only allows Apps to access repositories on the same account that the App was installed on. I’ve passed this feedback onto the CodePipeline team who is partnering with Atlassian on this integration.

For now you can try this workaround:

  1. Select the connection
  2. Type the name of the Repo as <account>/<repository-name> in the "Repository name" field
  3. Select the branch

CodePipeline connection should be able to retrieve the repo when you run the pipeline.

We were able to get acces to the repositories in another workspace by giving, to our bitbucket service account, workspace administration rights. We added it to a group that has the right to Permission needed for account

For sure, you need a bitbucket administrator doing that for you.

Having done that, we can create a codestart connexion that access the repository in another workspace.

Related