TriggerTriggerTemplate

data class TriggerTriggerTemplate(val branchName: String? = null, val commitSha: String? = null, val dir: String? = null, val invertRegex: Boolean? = null, val projectId: String? = null, val repoName: String? = null, val tagName: String? = null)

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val branchName: String? = null

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
val commitSha: String? = null

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? = null

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
val invertRegex: Boolean? = null

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

Link copied to clipboard
val projectId: String? = null

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

Link copied to clipboard
val repoName: String? = null

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

Link copied to clipboard
val tagName: String? = null

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.