TriggerBitbucketServerTriggerConfigPullRequest

data class TriggerBitbucketServerTriggerConfigPullRequest(val branch: String, val commentControl: String? = null, val invertRegex: Boolean? = null)

Constructors

constructor(branch: String, commentControl: String? = null, invertRegex: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Regex of branches to match. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

Link copied to clipboard
val commentControl: String? = null

Configure builds to run whether a repository owner or collaborator need to comment /gcbrun. Possible values are: COMMENTS_DISABLED, COMMENTS_ENABLED, COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY.

Link copied to clipboard
val invertRegex: Boolean? = null

If true, branches that do NOT match the git_ref will trigger a build.