jetbrains.buildServer.configs.kotlin.v10 / BuildSteps

BuildSteps

open class BuildSteps

Collection of build steps in build configuration or template

Constructors

<init>

BuildSteps(base: BuildSteps? = null, init: BuildSteps.() -> Unit = {})
BuildSteps(_items: List<BuildStep>?, _stepsOrder: List<String>? = null)

Properties

stepsOrder

var stepsOrder: <ERROR CLASS>

Contains step ids and specifies order of steps. Can be used to reorder steps in a template-based buildTypes.

Functions

plus

operator fun plus(other: BuildSteps): BuildSteps
operator fun plus(buildStep: BuildStep): BuildSteps

step

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

Adds a new build step

Extension Functions

ant

fun BuildSteps.ant(base: AntBuildStep? = null, init: AntBuildStep.() -> Unit = {}): Unit

Adds a build step running ant script

dockerBuild

fun BuildSteps.dockerBuild(base: DockerBuildStep? = null, init: DockerBuildStep.() -> Unit = {}): Unit

dockerCommand

fun BuildSteps.dockerCommand(base: DockerCommandStep? = null, init: DockerCommandStep.() -> Unit = {}): Unit

dockerCompose

fun BuildSteps.dockerCompose(base: DockerComposeStep? = null, init: DockerComposeStep.() -> Unit = {}): Unit

dotnetBuild

fun BuildSteps.dotnetBuild(base: DotnetBuildStep? = null, init: DotnetBuildStep.() -> Unit = {}): Unit

Adds a dotnet build step to run .NET CLI command

dotnetClean

fun BuildSteps.dotnetClean(base: DotnetCleanStep? = null, init: DotnetCleanStep.() -> Unit = {}): Unit

Adds a dotnet clean step to run .NET CLI command

dotnetCustom

fun BuildSteps.dotnetCustom(base: DotnetCustomStep? = null, init: DotnetCustomStep.() -> Unit = {}): Unit

Adds a dotnet build step to run a custom command

dotnetDevenv

fun BuildSteps.dotnetDevenv(base: DevenvBuildStep? = null, init: DevenvBuildStep.() -> Unit = {}): Unit

Adds a Visual Studio IDE step to run Visual Studio IDE command

dotnetMsBuild

fun BuildSteps.dotnetMsBuild(base: DotnetMsBuildStep? = null, init: DotnetMsBuildStep.() -> Unit = {}): Unit

Adds a .NET msbuild step to run .NET MSBuild

dotnetNugetDelete

fun BuildSteps.dotnetNugetDelete(base: DotnetNugetDeleteStep? = null, init: DotnetNugetDeleteStep.() -> Unit = {}): Unit

Adds a dotnet nuget delete step to run .NET CLI command

dotnetNugetPush

fun BuildSteps.dotnetNugetPush(base: DotnetNugetPushStep? = null, init: DotnetNugetPushStep.() -> Unit = {}): Unit

Adds a dotnet nuget push step to run .NET CLI command

dotnetPack

fun BuildSteps.dotnetPack(base: DotnetPackStep? = null, init: DotnetPackStep.() -> Unit = {}): Unit

Adds a dotnet pack step to run .NET CLI command

dotnetPublish

fun BuildSteps.dotnetPublish(base: DotnetPublishStep? = null, init: DotnetPublishStep.() -> Unit = {}): Unit

Adds a dotnet publish step to run .NET CLI command

dotnetRestore

fun BuildSteps.dotnetRestore(base: DotnetRestoreStep? = null, init: DotnetRestoreStep.() -> Unit = {}): Unit

Adds a dotnet restore step to run .NET CLI command

dotnetRun

fun BuildSteps.dotnetRun(base: DotnetRunStep? = null, init: DotnetRunStep.() -> Unit = {}): Unit

Adds a dotnet run step to run .NET CLI command

dotnetTest

fun BuildSteps.dotnetTest(base: DotnetTestStep? = null, init: DotnetTestStep.() -> Unit = {}): Unit

Adds a dotnet test step to run .NET CLI command

dotnetVsTest

fun BuildSteps.dotnetVsTest(base: DotnetVsTestStep? = null, init: DotnetVsTestStep.() -> Unit = {}): Unit

Adds a .NET vstest step to run .NET VSTest

exec

fun BuildSteps.exec(base: ExecBuildStep? = null, init: ExecBuildStep.() -> Unit = {}): Unit

Adds a build step running the specified executable with given arguments

gradle

fun BuildSteps.gradle(base: GradleBuildStep? = null, init: GradleBuildStep.() -> Unit = {}): Unit

Adds a build step running gradle script

ideaDuplicates

fun BuildSteps.ideaDuplicates(base: IdeaDuplicates? = null, init: IdeaDuplicates.() -> Unit = {}): Unit

ideaInspections

fun BuildSteps.ideaInspections(base: IdeaInspections? = null, init: IdeaInspections.() -> Unit = {}): Unit

ideaRunner

fun BuildSteps.ideaRunner(base: IdeaRunner? = null, init: IdeaRunner.() -> Unit = {}): Unit

maven

fun BuildSteps.maven(base: MavenBuildStep? = null, init: MavenBuildStep.() -> Unit = {}): Unit

Adds a build step running maven

msBuild

fun BuildSteps.msBuild(base: MSBuildStep? = null, init: MSBuildStep.() -> Unit = {}): Unit

Adds a build step running MSBuild script

mspec

fun BuildSteps.mspec(base: MSpecStep? = null, init: MSpecStep.() -> Unit = {}): Unit

Adds a build step running MSpec tests

mstest

fun BuildSteps.mstest(base: MSTestStep? = null, init: MSTestStep.() -> Unit = {}): Unit

Adds a build step running MSTest tests

nant

fun BuildSteps.nant(base: NAntStep? = null, init: NAntStep.() -> Unit = {}): Unit

Adds a build step running NAnt scripts

nuGetInstaller

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

Adds a NuGet installer step to run nuget restore command

nuGetPack

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

Adds a NuGet pack step to run nuget pack command

nuGetPublish

fun BuildSteps.nuGetPublish(base: NuGetPublishStep? = null, init: NuGetPublishStep.() -> Unit = {}): Unit

Adds a NuGet publish step to run nuget push command

nunit

fun BuildSteps.nunit(base: NUnitStep? = null, init: NUnitStep.() -> Unit = {}): Unit

Adds a build step running NUnit tests

placeholder

fun BuildSteps.placeholder(base: BuildStepPlaceholder? = null, init: BuildStepPlaceholder.() -> Unit = {}): Unit

Inserts a build step placeholder.

powerShell

fun BuildSteps.powerShell(base: PowerShellStep? = null, init: PowerShellStep.() -> Unit = {}): Unit

Adds a build step running PowerShell script

script

fun BuildSteps.script(base: ScriptBuildStep? = null, init: ScriptBuildStep.() -> Unit = {}): Unit

Adds a build step running a script with the specified content

visualStudio

fun BuildSteps.visualStudio(base: VisualStudioStep? = null, init: VisualStudioStep.() -> Unit = {}): Unit

Adds a build step running Visual Studio solution

vstest

fun BuildSteps.vstest(base: VSTestStep? = null, init: VSTestStep.() -> Unit = {}): Unit

Adds a build step running Visual Studio Tests