jetbrains.buildServer.configs.kotlin.v10.buildSteps / NuGetInstallerStep

NuGetInstallerStep

open class NuGetInstallerStep : BuildStep

A NuGet installer step to run nuget restore command

See Also

nuGetInstaller

Types

Mode

sealed class Mode : CompoundParam

UpdateMode

enum class UpdateMode

Update mode

UpdatePackages

sealed class UpdatePackages : CompoundParam

Constructors

<init>

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

Properties

args

var args: String?

Enter additional parameters to use when calling nuget pack command.

mode

var mode: Mode?

Select NuGet.exe restore or NuGet.exe install command to restore packages

noCache

var noCache: Boolean?

Disable looking up packages from local machine cache.

projects

var projects: String?

Specify the location of a solution or a packages.config file.

sources

var sources: String?

Specifies NuGet package sources to use during the restore.

toolPath

var toolPath: String?

Specify path to NuGet.exe.

updatePackages

var updatePackages: UpdatePackages?

Uses the NuGet update command to update all packages under solution

Inherited Properties

conditions

var conditions: BuildStepConditions

Optional collection of build step execution conditions

enabled

var enabled: Boolean

Specifies whether the step is enabled

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

install

fun install(init: Install.() -> Unit = {}): Install

updateParams

fun updateParams(init: UpdateParams.() -> Unit = {}): UpdateParams

Inherited Functions

conditions

fun conditions(base: BuildStepConditions? = null, init: BuildStepConditions.() -> Unit = {}): Unit

Configures build step conditions