BitbucketServerTriggerConfigResponse

data class BitbucketServerTriggerConfigResponse(val bitbucketServerConfig: BitbucketServerConfigResponse, val bitbucketServerConfigResource: String, val projectKey: String, val pullRequest: PullRequestFilterResponse, val push: PushFilterResponse, val repoSlug: String)

BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.

Constructors

Link copied to clipboard
fun BitbucketServerTriggerConfigResponse(bitbucketServerConfig: BitbucketServerConfigResponse, bitbucketServerConfigResource: String, projectKey: String, pullRequest: PullRequestFilterResponse, push: PushFilterResponse, repoSlug: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The BitbucketServerConfig specified in the bitbucket_server_config_resource field.

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.

Link copied to clipboard

Filter to match changes in refs like branches, tags.

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.