google_api_cloud_build v0.7.0 GoogleApi.CloudBuild.V1.Model.BuildTrigger View Source
Configuration for an automated build in response to source repository changes.
Attributes
- build (GoogleApi.CloudBuild.V1.Model.Build.t): Contents of the build template. Defaults to
nil. - createTime (DateTime.t): Output only. Time when the trigger was created. Defaults to
nil. - description (String.t): Human-readable description of this trigger. Defaults to
nil. - disabled (boolean()): If true, the trigger will never result in a build. Defaults to
nil. - filename (String.t): Path, from the source root, to a file whose contents is used for the
template. Defaults to
nil. - github (GoogleApi.CloudBuild.V1.Model.GitHubEventsConfig.t): GitHubEventsConfig describes the configuration of a trigger that creates
a build whenever a GitHub event is received. Defaults to
nil. - id (String.t): Output only. Unique identifier of the trigger. Defaults to
nil. - ignoredFiles (list(String.t)): ignored_files and included_files are file glob matches using http://godoc/pkg/path/filepath#Match extended with support for "**".
If ignored_files and changed files are both empty, then they are not used to determine whether or not to trigger a build.
If ignored_files is not empty, then we ignore any files that match
any of the ignored_file globs. If the change has no files that are
outside of the ignored_files globs, then we do not trigger a build. Defaults to nil.
- includedFiles (list(String.t)): If any of the files altered in the commit pass the ignored_files filter and included_files is empty, then as far as this filter is concerned, we should trigger the build.
If any of the files altered in the commit pass the ignored_files
filter and included_files is not empty, then we make sure that at
least one of those files matches a included_files glob. If not,
then we do not trigger a build. Defaults to nil.
- substitutions (map()): Substitutions data for Build resource. Defaults to
nil. - tags (list(String.t)): Tags for annotation of a
BuildTriggerDefaults tonil. - triggerTemplate (GoogleApi.CloudBuild.V1.Model.RepoSource.t): Template describing the types of source changes to trigger a build.
Branch and tag names in trigger templates are interpreted as regular
expressions. Any branch or tag change that matches that regular expression
will trigger a build. Defaults to nil.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
t()
View Source
t() :: %GoogleApi.CloudBuild.V1.Model.BuildTrigger{
build: GoogleApi.CloudBuild.V1.Model.Build.t(),
createTime: DateTime.t(),
description: String.t(),
disabled: boolean(),
filename: String.t(),
github: GoogleApi.CloudBuild.V1.Model.GitHubEventsConfig.t(),
id: String.t(),
ignoredFiles: [String.t()],
includedFiles: [String.t()],
substitutions: map(),
tags: [String.t()],
triggerTemplate: GoogleApi.CloudBuild.V1.Model.RepoSource.t()
}
t() :: %GoogleApi.CloudBuild.V1.Model.BuildTrigger{
build: GoogleApi.CloudBuild.V1.Model.Build.t(),
createTime: DateTime.t(),
description: String.t(),
disabled: boolean(),
filename: String.t(),
github: GoogleApi.CloudBuild.V1.Model.GitHubEventsConfig.t(),
id: String.t(),
ignoredFiles: [String.t()],
includedFiles: [String.t()],
substitutions: map(),
tags: [String.t()],
triggerTemplate: GoogleApi.CloudBuild.V1.Model.RepoSource.t()
}
Link to this section Functions
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.