Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

AWS CodeBuild suddenly can't see my private repository

Peter Deppe
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 12, 2021

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
Peter Deppe
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 12, 2021

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
AUG Leaders

Atlassian Community Events