jetbrains.buildServer.configs.kotlin.v10 / BuildFeature

BuildFeature

open class BuildFeature : Parametrized

Represents TeamCity build feature

Constructors

<init>

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

Properties

enabled

var enabled: Boolean

Specifies whether the feature is enabled

id

var id: String?

Build feature id, if not specified will be generated

type

var type: String

Build feature type

Inherited Properties

params

open val params: List<Parameter>

Inherited Functions

booleanParameter

fun booleanParameter(customName: String? = null, trueValue: String? = "true", falseValue: String? = "false"): BooleanDelegate

compoundParameter

fun <T : CompoundParam> compoundParameter(customName: String? = null): CompoundParamDelegate<T>

enumParameter

fun <E : Enum<E>> enumParameter(customName: String? = null, mapping: Map<E, String?>? = null): EnumDelegate<E>

intParameter

fun intParameter(customName: String? = null): IntDelegate

param

fun param(name: String, value: String): Unit

Adds parameter

stringParameter

fun stringParameter(customName: String? = null): StringDelegate

Inheritors

AutoMerge

open class AutoMerge : BuildFeature

Build feature enabling automatic merge in build configuration or template.

CommitStatusPublisher

open class CommitStatusPublisher : BuildFeature

A build feature publishing status to external system

DockerSupportFeature

open class DockerSupportFeature : BuildFeature

Docker Support feature tracks pushed images and adds a dedicated tab with information about them.

FailureCondition

open class FailureCondition : BuildFeature

TeamCity failure condition

FileContentReplacer

open class FileContentReplacer : BuildFeature

A build feature which processes text files by performing regular expressions

FreeDiskSpace

open class FreeDiskSpace : BuildFeature

Build feature ensuring certain free disk space on the agent before the build by deleting files managed by the TeamCity agent.

GolangFeature

open class GolangFeature : BuildFeature

Golang feature processing Golang tests

InvestigationsAutoAssigner

open class InvestigationsAutoAssigner : BuildFeature

A build feature assigning investigations of build failures automatically based on heuristics

NuGetFeedCredentials

open class NuGetFeedCredentials : BuildFeature

A build feature to provide feed credentials.

NuGetPackagesIndexer

open class NuGetPackagesIndexer : BuildFeature

A build feature to index *.nupkg files in build artifacts into TeamCity NuGet Feed.

Perfmon

open class Perfmon : BuildFeature

A build feature allows you to get the statistics on the CPU, disk and memory usage during a build run on a build agent.

PullRequests

open class PullRequests : BuildFeature

A build feature that introduces GitHub pull requests integration

SshAgent

open class SshAgent : BuildFeature

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

Swabra

open class Swabra : BuildFeature

A build feature cleaning files and processes created during a build

VcsLabeling

open class VcsLabeling : BuildFeature

Build feature enabling automatic VCS labeling in a build.