open class CommitStatusPublisher : BuildFeature
A build feature publishing status to external system
See Also
enum class FileEncoding |
|
sealed class Publisher : CompoundParam<Publisher> |
CommitStatusPublisher(init: CommitStatusPublisher.() -> Unit) CommitStatusPublisher()
A build feature publishing status to external system |
var publisher: Publisher?
Specifies to which system a status should be published |
|
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. |
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 |
fun bitbucketCloud(init: BitbucketCloud.() -> Unit = {}): BitbucketCloud
Publish status to Bitbucket Cloud |
|
fun bitbucketServer(init: BitbucketServer.() -> Unit = {}): BitbucketServer
Publish status to Bitbucket Server |
|
fun gerrit(init: Gerrit.() -> Unit = {}): Gerrit
Publish status to Gerrit Code Review |
|
fun github(init: Github.() -> Unit = {}): Github
Publish status to GitHub |
|
fun gitlab(init: Gitlab.() -> Unit = {}): Gitlab
Publish status to GitLab |
|
fun tfs(init: Tfs.() -> Unit = {}): Tfs
Publish build status to Azure DevOps / TFS |
|
fun upsource(init: Upsource.() -> Unit = {}): Upsource
Publish status to Upsource |
|
open fun validate(consumer: ErrorConsumer): Unit
Validates this object and reports found errors to the provided consumer |
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 |