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

NuGetPackStep

open class NuGetPackStep : BuildStep

A NuGet pack step to run nuget pack command

See Also

nuGetPack

Types

BaseDir

sealed class BaseDir : CompoundParam

Constructors

<init>

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

Properties

args

var args: String?

Enter additional parameters to use when calling nuget pack command.

baseDir

var baseDir: BaseDir?

The -BaseDirectory parameter value. Leave blank to use the build checkout directory

cleanOutputDir

var cleanOutputDir: Boolean?

Clean output directory

excludePaths

var excludePaths: String?

Exclude files when creating a package.

includeSymbols

var includeSymbols: Boolean?

Include sources and symbols.

outputDir

var outputDir: String?

The path to the output directory for generated NuGet packages.

paths

var paths: String?

Specify paths to .nuspec files and/or to project files.

preferProjectPaths

var preferProjectPaths: Boolean?

Use the project file (if exists, i.e. .csproj or .vbproj) for every matched .nuspec file.

properties

var properties: String?

A semicolon or a newline-separated list of package creation properties.

publishPackages

var publishPackages: Boolean?

Publish created packages to build artifacts

toolPackage

var toolPackage: Boolean?

Create tool package.

toolPath

var toolPath: String?

Specify path to NuGet.exe.

version

var version: String?

Overrides the version number from the .nuspec file.

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

customPath

fun customPath(init: CustomPath.() -> Unit = {}): CustomPath

projectPath

fun projectPath(): ProjectPath

Use project/.nuspec directory.

Inherited Functions

conditions

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

Configures build step conditions