TriggerBitbucketServerTriggerConfig

data class TriggerBitbucketServerTriggerConfig(val bitbucketServerConfigResource: String, val projectKey: String, val pullRequest: TriggerBitbucketServerTriggerConfigPullRequest? = null, val push: TriggerBitbucketServerTriggerConfigPush? = null, val repoSlug: String)

Constructors

Link copied to clipboard
constructor(bitbucketServerConfigResource: String, projectKey: String, pullRequest: TriggerBitbucketServerTriggerConfigPullRequest? = null, push: TriggerBitbucketServerTriggerConfigPush? = null, repoSlug: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The Bitbucket server config resource that this trigger config maps to.

Link copied to clipboard

Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".

Link copied to clipboard

Filter to match changes in pull requests. Structure is documented below.

Link copied to clipboard

Filter to match changes in refs like branches, tags. Structure is documented below.

Link copied to clipboard

Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL. For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.