Skip to content

Instantly share code, notes, and snippets.

@jordanebelanger
Created November 10, 2022 16:07
Show Gist options
  • Save jordanebelanger/5fe52f1b13c8ae7c31cf726616d34ead to your computer and use it in GitHub Desktop.
Save jordanebelanger/5fe52f1b13c8ae7c31cf726616d34ead to your computer and use it in GitHub Desktop.
GCP Cloud build trigger fail with Bitbucket source type
│ Error: Error creating Trigger: googleapi: Error 400: Invalid value at 'trigger.git_file_source.repo_type' (type.googleapis.com/google.devtools.cloudbuild.v1.GitFileSource.RepoType), "BITBUCKET"
│ Details:
│ [
│ {
│ "@type": "type.googleapis.com/google.rpc.BadRequest",
│ "fieldViolations": [
│ {
│ "description": "Invalid value at 'trigger.git_file_source.repo_type' (type.googleapis.com/google.devtools.cloudbuild.v1.GitFileSource.RepoType), \"BITBUCKET\"",
│ "field": "trigger.git_file_source.repo_type"
│ }
│ ]
│ }
│ ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment