logsBucket
Set the logsBucket field for a build to specify a Cloud Storage bucket where logs must be written. If you don't set
this field, Cloud Build will use a default bucket to store your build logs.
The following snippet sets a logs bucket to store the build logs:
YAML
JSON
steps:
name: 'gcr.io/cloud-builders/go'
args: ['install',
']
logsBucket: 'gs://mybucket'