jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps / NAntStep

NAntStep

open class NAntStep : BuildStep

A build step running NAnt scripts

See Also

nant

Types

Coverage

sealed class Coverage : CompoundParam<Coverage>

Mode

sealed class Mode : CompoundParam<Mode>

PlatformBitness

enum class PlatformBitness

PlatformVersion

enum class PlatformVersion

Registration

enum class Registration

ReportOrder

enum class ReportOrder

ReportType

enum class ReportType

RuntimeVersion

enum class RuntimeVersion

TargetFramework

enum class TargetFramework

Target Framework version

Constructors

<init>

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

A build step running NAnt scripts

Properties

args

var args: String?

Space-separated list of additional arguments for NAnt.exe.

coverage

var coverage: Coverage?

Specifies coverage tool to use

mode

var mode: Mode?

Specifies what Nant script will be executed

nantHome

var nantHome: String?

A path to NAnt home directory

reduceTestFeedback

var reduceTestFeedback: Boolean?

Whether TeamCity should run recently failed tests first to reduce test feedback

targetFramework

var targetFramework: TargetFramework?

A required target framework (a shortcut for -t: option of NAnt.exe).

targets

var targets: String?

Space-separated list of NAnt targets to execute

workingDir

var workingDir: String?

Build working directory for ant script, specify it if it is different from the checkout directory.

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

dotcover

fun dotcover(init: Dotcover.() -> Unit = {}): Dotcover

nantFile

fun nantFile(init: NantFile.() -> Unit = {}): NantFile

Executes the NAnt script at the given path

nantScript

fun nantScript(init: NantScript.() -> Unit = {}): NantScript

Executes the NAnt script with the given content

ncover

fun ncover(init: Ncover.() -> Unit = {}): Ncover

ncover3

fun ncover3(init: Ncover3.() -> Unit = {}): Ncover3

partcover

fun partcover(init: Partcover.() -> Unit = {}): Partcover

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