CodeBuild vs CodePipeline with Bitbucket Cloud Repo

0

I created a CodeBuild project for a .Net Framework repo in BitBucket cloud. The project is using OAuth to connect to BB Cloud. The build runs successfully and creates artifacts in S3.

Next, I created a CodePipeline using this CodeBuild project.

The pipeline wizard forces me to select a Bitbucket app or create a new one to connect to the BB Cloud repo. I've tried using the apps there as well as using the install new app method and have the same problem outlined below. The apps that are already installed were created with my AWS account.

Problem: I am getting a build error when trying to pull from the Bitbucket cloud repo.

The build error is:

authorization failed for primary source and source version

I have a user in my Bitbucket Cloud repo with admin privs for my AWS email...which is why my CodeBuild project works.

So I'm not sure why I am still having this problem via the Pipeline using the same codebuild.

Any thoughts?

質問済み 2年前800ビュー
2回答
0

You might want to try to ensure you followed the steps here to setup auth between CodePipeline and BB Cloud. (you might already done some of those)

Then, ensure you choose "Full clone" in Output artifact format, and then follow the instructions here to update the CodeBuild project service role.

Jason_S
回答済み 2年前
0

Thank you for that suggestion.

回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ