BitbucketServer

class BitbucketServer : PullRequests.Provider

Constructors

Link copied to clipboard
fun BitbucketServer()

Types

Link copied to clipboard
sealed class AuthType : CompoundParam<PullRequests.Provider.BitbucketServer.AuthType>

Functions

Link copied to clipboard
fun booleanParameter(    customName: String? = null,     trueValue: String? = "true",     falseValue: String? = "false"): <ERROR CLASS><Parametrized, <ERROR CLASS><Parametrized, T?>>
Link copied to clipboard
fun clear()
Link copied to clipboard
fun <T : CompoundParam<T>> compoundParameter(customName: String? = null): <ERROR CLASS><Parametrized, <ERROR CLASS><Parametrized, T?>>
Link copied to clipboard
fun <T : Parametrized> copyParamsTo(target: T): T

Copies parameters of this object to the specified target

Link copied to clipboard
fun doubleParameter(customName: String? = null): <ERROR CLASS><Parametrized, <ERROR CLASS><Parametrized, T?>>
Link copied to clipboard
fun <E : Enum<E>> enumParameter(customName: String? = null, mapping: Map<E, String?>? = null): <ERROR CLASS><Parametrized, <ERROR CLASS><Parametrized, T?>>
Link copied to clipboard
fun findRawParam(paramName: String): Parameter?
Link copied to clipboard
fun hasParam(paramName: String): Boolean
Link copied to clipboard
fun intParameter(customName: String? = null): <ERROR CLASS><Parametrized, <ERROR CLASS><Parametrized, T?>>
Link copied to clipboard
fun param(name: String, value: String)

Adds parameter with specified name and value

Link copied to clipboard
Link copied to clipboard
fun removeRawParam(paramName: String)
Link copied to clipboard

Use token credentials stored in TeamCity

Link copied to clipboard
open fun stringParameter(customName: String? = null): <ERROR CLASS><Parametrized, <ERROR CLASS><Parametrized, T?>>
Link copied to clipboard

Authentication using access token

Link copied to clipboard
open override fun validate(consumer: ErrorConsumer)
Link copied to clipboard

Use VCS root credentials

Properties

Link copied to clipboard
var authType: <ERROR CLASS>

Type of authentication

Link copied to clipboard
var filterSourceBranch: <ERROR CLASS>

Filter by source branch

Link copied to clipboard
var filterTargetBranch: <ERROR CLASS>

Filter by target branch

Link copied to clipboard
val params: List<Parameter>
Link copied to clipboard
var serverUrl: <ERROR CLASS>

Bitbucket Server / Data Center server URL

Link copied to clipboard
var usePullRequestBranches: <ERROR CLASS>

Enables detection of officially unsupported pull request branches (pull-requests/N) instead of source branches. This option is intended for backward compatibility only. Try to avoid using it. Be careful: new builds might be triggered for changes committed within the last hour after switching.

Link copied to clipboard
val value: String?