jetbrains.buildServer.configs.kotlin.v10.buildFeatures / CommitStatusPublisher

CommitStatusPublisher

open class CommitStatusPublisher : BuildFeature

A build feature publishing status to external system

See Also

commitStatusPublisher

Types

FileEncoding

enum class FileEncoding

Publisher

sealed class Publisher : CompoundParam

Constructors

<init>

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

Properties

publisher

var publisher: Publisher?

Specifies to which system a status should be published

vcsRootExtId

var vcsRootExtId: String?

Id of the VCS root for which commits a status should be published. Set to an empty string to publish status for all VCS roots attached to a build configuration.

Inherited 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

Functions

bitbucketCloud

fun bitbucketCloud(init: BitbucketCloud.() -> Unit = {}): BitbucketCloud

Publish status to Bitbucket Cloud

bitbucketServer

fun bitbucketServer(init: BitbucketServer.() -> Unit = {}): BitbucketServer

Publish status to Bitbucket Server

gerrit

fun gerrit(init: Gerrit.() -> Unit = {}): Gerrit

Publish status to Gerrit Code Review

github

fun github(init: Github.() -> Unit = {}): Github

Publish status to GitHub

gitlab

fun gitlab(init: Gitlab.() -> Unit = {}): Gitlab

Publish status to GitLab

tfs

fun tfs(init: Tfs.() -> Unit = {}): Tfs

Publish build status to Azure DevOps / TFS

upsource

fun upsource(init: Upsource.() -> Unit = {}): Upsource

Publish status to Upsource