Vee6
Vee6

Reputation: 1577

Google Cloud Build cannot trigger build: no such blob

I had an app engine app with multiple services running and since stopping and restarting it (from the Dashboard buttons) CloudBuild doesn't want to function anymore.

I set up a trigger to run on pushes to certain branches and when I trigger it either manually or automatically by pushing commits it doesn't even register as a started build but instead I am presented with a message:

Failed to trigger build: <app-engine-name>/<repo-name>:cloudbuild.yaml: No such blob refs/heads/<repo-branch-name>:cloudbuild.yaml

without any links to follow or any other helpful thing.

Upvotes: 0

Views: 358

Answers (1)

Vee6
Vee6

Reputation: 1577

Turns out the problem was Google Cloud Build accessing the repo on Bitbucket. After two factor auth was activated on Bitbucket Google was failing to sync the information, would not say this properly and would simply be using a very outdated version of what it mirrored.

The problem was fixed by disconnecting everything related to Bitbucket and reconnecting it again and waiting a couple of minutes for the settings to sync.

Upvotes: 1

Related Questions