Needed so Cloud Scheduler can run Cloud Build jobs - can also set via environment argument CR_BUILD_EMAIL

cr_email_get()

cr_email_set(cloudbuildEmail)

Arguments

cloudbuildEmail

The Cloud Build service email

See also

https://console.cloud.google.com/cloud-build/settings

Examples

cr_email_set("myemail@domain.com")
#> 2021-09-20 15:59:02 > cloudbuildEmail set to myemail@domain.com
#> [1] "myemail@domain.com"
cr_email_get()
#> [1] "myemail@domain.com"