GetTriggerTriggerTemplate

data class GetTriggerTriggerTemplate(val branchName: String, val commitSha: String, val dir: String, val invertRegex: Boolean, val projectId: String, val repoName: String, val tagName: String)

Constructors

Link copied to clipboard
constructor(branchName: String, commitSha: String, dir: String, invertRegex: Boolean, projectId: String, repoName: String, tagName: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Name of the branch to build. Exactly one a of branch name, tag, or commit SHA must be provided. This field is a regular expression.

Link copied to clipboard

Explicit commit SHA to build. Exactly one of a branch name, tag, or commit SHA must be provided.

Link copied to clipboard
val dir: String

Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution.

Link copied to clipboard

Only trigger a build if the revision regex does NOT match the revision regex.

Link copied to clipboard

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

Link copied to clipboard

Name of the Cloud Source Repository. If omitted, the name "default" is assumed.

Link copied to clipboard

Name of the tag to build. Exactly one of a branch name, tag, or commit SHA must be provided. This field is a regular expression.