Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,564
Community Members
 
Community Events
165
Community Groups

AWS CodeBuild suddenly can't see my private repository

Hello! I have private Bitbucket repositories connected to AWS Codebuild using Codestar. Up to this point, everything has been working fine but all of a sudden this morning the builds are failing indicating it can no longer see the source.

When I click the url from AWS it brings me to Bitbucket but the code is not visible and provides the following message:

"Having trouble showing that file"

"Normally, you'd see the file here, but something didn't go right"

It appears AWS is using a url formatted like:

 https://<USERNAME>@bitbucket.org/<WORKSPACE>/<PROJECT-NAME>/src/main

I cannot get this to work at all. However, I'm logged in to Bitbucket and can hit this url just fine:

https://bitbucket.org/<WORKSPACE>/<PROJECT-NAME>/src/main

Anyone seeing the same issue? Ideas?

1 answer

1 accepted

3 votes
Answer accepted

Sigh. Ok, nvm. The message I was seeing in the AWS console was: 

Phase complete: DOWNLOAD_SOURCE State: FAILED

I read that as having an issue with the source so went down that rabbit hole. I wasn't paying close enough attention because it turns out there was a problem with the buildspec.yaml that was failing the build :(

The link to the codebase in the context of the CodBuild process appears to be working fine.

My bad :(

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,231 views 2 9
Read article

Community Events

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

Events near you