jetbrains.buildServer.configs.kotlin.v2018_1.buildFeatures / DockerSupportFeature

DockerSupportFeature

open class DockerSupportFeature : BuildFeature

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

See Also

dockerSupport

Types

LoginToRegistry

sealed class LoginToRegistry : CompoundParam<LoginToRegistry>

Constructors

<init>

DockerSupportFeature(init: DockerSupportFeature.() -> Unit)DockerSupportFeature()

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

Properties

cleanupPushedImages

var cleanupPushedImages: Boolean?

On server clean-up, delete pushed docker images from registry.

loginToRegistry

var loginToRegistry: LoginToRegistry?

Log in to the Docker registry with the given ID before the build.

Inherited Properties

enabled

var enabled: Boolean

Specifies whether the feature is enabled, true by default

id

var id: String?

Build feature id, if not specified will be generated

type

var type: String

Build feature type

Functions

on

fun on(init: On.() -> Unit = {}): On

validate

open fun validate(consumer: ErrorConsumer): Unit

Validates this object and reports found errors to the provided consumer

Inherited Functions

create

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.

toString

open fun toString(): String