DEV Community

namikaze-abhishek
namikaze-abhishek

Posted on

GCP Code Build Error(unknown field "logging" in google.devtools.cloudbuild.v1.Build)

Your build failed to run: failed unmarshalling build config cloudbuild.yaml: unknown field "logging" in google.devtools.cloudbuild.v1.Build

To solve this error you have to either create a bucket for storing logs or you can paste this command just at the end of your steps

options:
logging: CLOUD_LOGGING_ONLY

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay