jetbrains.buildServer.configs.kotlin.v10 / BuildFeatures

BuildFeatures

open class BuildFeatures

Collection of build features in build configuration or template

Constructors

<init>

BuildFeatures(base: BuildFeatures? = null, init: BuildFeatures.() -> Unit = {})

Functions

feature

fun feature(base: BuildFeature? = null, init: BuildFeature.() -> Unit = {}): Unit

Adds a new build feature

plus

operator fun plus(other: BuildFeatures): BuildFeatures
operator fun plus(feature: BuildFeature): BuildFeatures

Extension Functions

commitStatusPublisher

fun BuildFeatures.commitStatusPublisher(base: CommitStatusPublisher? = null, init: CommitStatusPublisher.() -> Unit = {}): Unit

Enables status publishing to external system

dockerSupport

fun BuildFeatures.dockerSupport(base: DockerSupportFeature? = null, init: DockerSupportFeature.() -> Unit = {}): Unit

freeDiskSpace

fun BuildFeatures.freeDiskSpace(base: FreeDiskSpace? = null, init: FreeDiskSpace.() -> Unit = {}): Unit

Adds a free disk space check to the build configuration or template

golang

fun BuildFeatures.golang(base: GolangFeature? = null, init: GolangFeature.() -> Unit = {}): Unit

investigationsAutoAssigner

fun BuildFeatures.investigationsAutoAssigner(base: InvestigationsAutoAssigner? = null, init: InvestigationsAutoAssigner.() -> Unit = {}): Unit

Configures Investigations Auto Assigner behaviour.

jiraCloudIntegration

fun BuildFeatures.jiraCloudIntegration(base: JiraCloudIntegration? = null, init: JiraCloudIntegration.() -> Unit = {}): Unit

Provides integration with Jira Cloud via its Build and Deployment APIs

merge

fun BuildFeatures.merge(base: AutoMerge? = null, init: AutoMerge.() -> Unit = {}): Unit

Enables automatic merge in the build configuration or template

notifications

fun BuildFeatures.notifications(base: Notifications? = null, init: Notifications.() -> Unit = {}): Unit

Add notification rule

nuGetFeedCredentials

fun BuildFeatures.nuGetFeedCredentials(base: NuGetFeedCredentials? = null, init: NuGetFeedCredentials.() -> Unit = {}): Unit

Provides NuGet feed credentials for feed

nuGetPackagesIndexer

fun BuildFeatures.nuGetPackagesIndexer(base: NuGetPackagesIndexer? = null, init: NuGetPackagesIndexer.() -> Unit = {}): Unit

Enables NuGet packages indexing into feed

perfmon

fun BuildFeatures.perfmon(base: Perfmon? = null, init: Perfmon.() -> Unit = {}): Unit

Adds a build feature build feature

pullRequests

fun BuildFeatures.pullRequests(base: PullRequests? = null, init: PullRequests.() -> Unit = {}): Unit

Enables pull requests integration

replaceContent

fun BuildFeatures.replaceContent(base: FileContentReplacer? = null, init: FileContentReplacer.() -> Unit = {}): Unit

Adds a build feature which processes text files by performing regular expressions

sshAgent

fun BuildFeatures.sshAgent(base: SshAgent? = null, init: SshAgent.() -> Unit = {}): Unit

Adds a build feature which runs SSH agent during a build with the specified SSH key loaded

swabra

fun BuildFeatures.swabra(base: Swabra? = null, init: Swabra.() -> Unit = {}): Unit

Adds a build feature cleaning files and processes created during a build

vcsLabeling

fun BuildFeatures.vcsLabeling(base: VcsLabeling? = null, init: VcsLabeling.() -> Unit = {}): Unit

Enables automatic VCS labeling in a build