open class BuildFeature : Parametrized, Validatable
Represents TeamCity build feature
BuildFeature(init: BuildFeature.() -> Unit)
Creates a build feature and initializes it with the specified init block BuildFeature()
Represents TeamCity build feature |
var enabled: Boolean
Specifies whether the feature is enabled, true by default |
|
var id: String?
Build feature id, if not specified will be generated |
|
var type: String
Build feature type |
val params: List<Parameter> |
open fun create(): BuildFeature
Creates an instance of this build feature via reflection using a no argument constructor, used during copying. Throws an error if this class doesn't have a default constructor. Subclasses can override it to create an instance without using a default constructor. |
|
open fun toString(): String |
|
open fun validate(consumer: ErrorConsumer): Unit
Validates this object and reports found errors to the provided consumer |
fun booleanParameter(customName: String? = null, trueValue: String? = "true", falseValue: String? = "false"): SingleDelegateProvider<Boolean> |
|
fun <T : CompoundParam<T>> compoundParameter(customName: String? = null): CompoundDelegateProvider<T> |
|
fun <T : Parametrized> copyParamsTo(target: T): T
Copies parameters of this object to the specified target |
|
fun <E : Enum<E>> enumParameter(customName: String? = null, mapping: Map<E, String?>? = null): SingleDelegateProvider<E> |
|
fun findRawParam(paramName: String): Parameter? |
|
fun hasParam(paramName: String): Boolean |
|
fun intParameter(customName: String? = null): SingleDelegateProvider<Int> |
|
fun param(name: String, value: String): Unit
Adds parameter with specified name and value |
|
fun removeRawParam(paramName: String): Unit |
|
fun stringParameter(customName: String? = null): SingleDelegateProvider<String> |
open class AutoMerge : BuildFeature
Build feature enabling automatic merge in build configuration or template. |
|
open class CommitStatusPublisher : BuildFeature
A build feature publishing status to external system |
|
open class DockerSupportFeature : BuildFeature
Docker Support feature tracks pushed images and adds a dedicated tab with information about them. |
|
open class FailureCondition : BuildFeature
TeamCity failure condition |
|
open class FileContentReplacer : BuildFeature
A build feature which processes text files by performing regular expressions |
|
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. |
|
open class GolangFeature : BuildFeature
Golang feature processing Golang tests |
|
open class InvestigationsAutoAssigner : BuildFeature
A build feature assigning investigations of build failures automatically based on heuristics |
|
open class JiraCloudIntegration : BuildFeature
A build feature enabling integration with Jira Cloud via its Build and Deployment APIs |
|
open class Notifications : BuildFeature
Build feature for notification rule |
|
open class NuGetFeedCredentials : BuildFeature
A build feature to provide feed credentials. |
|
open class NuGetPackagesIndexer : BuildFeature
A build feature to index *.nupkg files in build artifacts into TeamCity NuGet Feed. |
|
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. |
|
open class PullRequests : BuildFeature
A build feature that introduces GitHub pull requests integration |
|
open class SshAgent : BuildFeature
A build feature which runs SSH agent during a build with the specified SSH key loaded |
|
open class Swabra : BuildFeature
A build feature cleaning files and processes created during a build |
|
open class VcsLabeling : BuildFeature
Build feature enabling automatic VCS labeling in a build. |