Configuration for an automated build in response to source repositorychanges.
BuildTrigger(
filename = NULL,
name = NULL,
tags = NULL,
build = NULL,
ignoredFiles = NULL,
github = NULL,
substitutions = NULL,
includedFiles = NULL,
disabled = NULL,
sourceToBuild = NULL,
triggerTemplate = NULL,
webhookConfig = NULL,
description = NULL,
pubsubConfig = NULL
)
Path, from the source root, to a file whose contents is used for the build
User assigned name of the trigger
Tags for annotation of a `BuildTrigger`
Contents of the build template
ignored_files and included_files are file glob matches extended with support for "**".
a GitHubEventsConfig object - mutually exclusive with triggerTemplate
A named list of Build macro variables
If any of the files altered in the commit pass the ignored_files
If true, the trigger will never result in a build
A cr_buildtrigger_repo object (but no regex allowed for branch or tag) This field is currently only used by Webhook, Pub/Sub, Manual, and Cron triggers and is the source of the build will execute upon.
a RepoSource object - mutually exclusive with github
WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.
Human-readable description of this trigger
PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published.
BuildTrigger object
https://cloud.google.com/build/docs/api/reference/rest/v1/projects.triggers
Other BuildTrigger functions:
GitHubEventsConfig()
,
cr_buildtrigger_copy()
,
cr_buildtrigger_delete()
,
cr_buildtrigger_edit()
,
cr_buildtrigger_get()
,
cr_buildtrigger_list()
,
cr_buildtrigger_pubsub()
,
cr_buildtrigger_repo()
,
cr_buildtrigger_run()
,
cr_buildtrigger_webhook()
,
cr_buildtrigger()