jetbrains.buildServer.configs.kotlin.v2017_2.buildSteps / NuGetPublishStep

NuGetPublishStep

open class NuGetPublishStep : BuildStep

A NuGet publish step to run nuget push command

See Also

nuGetPublish

Constructors

<init>

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

A NuGet publish step to run nuget push command

Properties

apiKey

var apiKey: String?

Specify the API key to access a NuGet packages feed.

args

var args: String?

Enter additional parameters to use when calling nuget push command.

packages

var packages: String?

A newline-separated list of NuGet package files (.nupkg) to push to the NuGet feed.

serverUrl

var serverUrl: String?

Specify the NuGet packages feed URL to push packages to.

toolPath

var toolPath: String?

Specify path to NuGet.exe.

Inherited Properties

conditions

var conditions: BuildStepConditions

Optional collection of build step execution conditions

enabled

var enabled: Boolean

Specifies whether the step is enabled, true by default

executionMode

var executionMode: ExecutionMode

Build step execution mode

id

var id: String?

Id of the step, if not specified will be generated

name

var name: String

Build step name

type

var type: String

Build step type

Functions

validate

open fun validate(consumer: ErrorConsumer): Unit

Validates this object and reports found errors to the provided consumer

Inherited Functions

clearConditions

fun clearConditions(): Unit

Deletes all configured build step conditions

conditions

fun conditions(init: BuildStepConditions.() -> Unit = {}): Unit

Configures build step conditions

create

open fun create(): BuildStep

Creates an instance of this build step 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