BitbucketServerTriggerConfigArgs

data class BitbucketServerTriggerConfigArgs(val bitbucketServerConfigResource: Output<String>, val projectKey: Output<String>, val pullRequest: Output<PullRequestFilterArgs>? = null, val push: Output<PushFilterArgs>? = null, val repoSlug: Output<String>) : ConvertibleToJava<BitbucketServerTriggerConfigArgs>

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

Constructors

Link copied to clipboard
constructor(bitbucketServerConfigResource: Output<String>, projectKey: Output<String>, pullRequest: Output<PullRequestFilterArgs>? = null, push: Output<PushFilterArgs>? = null, repoSlug: Output<String>)

Properties

Link copied to clipboard

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

Link copied to clipboard
val projectKey: Output<String>

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
val pullRequest: Output<PullRequestFilterArgs>? = null

Filter to match changes in pull requests.

Link copied to clipboard
val push: Output<PushFilterArgs>? = null

Filter to match changes in refs like branches, tags.

Link copied to clipboard
val repoSlug: Output<String>

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.

Functions

Link copied to clipboard
open override fun toJava(): BitbucketServerTriggerConfigArgs