BuildSteps

Collection of build steps in build configuration or template.

Example. Command line build step

See also script build step

steps {
script {
scriptContent = """echo "Hello world!""""
}
}

Example. Maven build step

See also Maven build step

maven {
goals = "clean package"
}

See also steps().

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

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

Functions

Link copied to clipboard

Adds a build step running ant script

Link copied to clipboard

Adds a Container Deployer build step.

Link copied to clipboard

Copies the receiver build steps

Link copied to clipboard

Copies the receiver build steps to the specified target

Link copied to clipboard

Adds a build step running a C# script from a specified file

Link copied to clipboard

Adds a build step running a C# script with the specified content

Link copied to clipboard
Link copied to clipboard

Example. Adds a Docker Build build step with a source as Dockerfile located in the checkout directory with extra Docker command line argument.

Link copied to clipboard

Example. Adds a Docker Compose build step with specified Compose YAML file.

Link copied to clipboard

Adds a dotCover build step to run dotCover coverage tool

Link copied to clipboard

Adds a dotnet build step to run .NET CLI command

Link copied to clipboard

Adds a dotnet clean step to run .NET CLI command

Link copied to clipboard

Adds a dotnet build step to run a custom command

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Adds a dotnet pack step to run .NET CLI command

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Adds a dotnet run step to run .NET CLI command

Link copied to clipboard

Adds a dotnet test step to run .NET CLI command

Link copied to clipboard
Link copied to clipboard

Adds a build step running the specified executable with given arguments

Link copied to clipboard

Adds an FTP Upload build step.

Link copied to clipboard
Link copied to clipboard

Adds a build step running gradle script

Link copied to clipboard

The Duplicates Finder (Java) build runner is intended for catching similar code fragments and providing a report on discovered repetitive blocks of Java code.

Link copied to clipboard

The Inspections (IntelliJ IDEA) build runner is intended to run code analysis based on IntelliJ IDEA inspections for your project.

Link copied to clipboard
fun BuildSteps.ideaRunner(init: IdeaRunner.() -> Unit = {})

IntelliJ IDEA Project build runner allows you to build a project created in IntelliJ IDEA

Link copied to clipboard

Adds a build step running a Kotlin script from a specified file

Link copied to clipboard

Adds a build step running a Kotlin script with the specified content

Link copied to clipboard

Adds a build step running maven

Link copied to clipboard

Adds a build step running MSBuild script

Link copied to clipboard

Adds a build step running MSpec tests

Link copied to clipboard

Adds a build step running MSTest tests

Link copied to clipboard

Adds a build step running NAnt scripts

Link copied to clipboard

Adds a Node.js build step

Link copied to clipboard

Adds a NuGet installer step to run nuget restore command

Link copied to clipboard

Adds a NuGet pack step to run nuget pack command

Link copied to clipboard

Adds a NuGet publish step to run nuget push command

Link copied to clipboard

Adds a build step running NUnit tests

Link copied to clipboard

Adds a build step running NUnit tests

Link copied to clipboard

Adds a build step running PowerShell script

Link copied to clipboard

Adds a Python build step

Link copied to clipboard
fun BuildSteps.qodana(init: Qodana.() -> Unit): Qodana

Add 'Qodana' build step

Link copied to clipboard

Add s Rake build step.

Link copied to clipboard
Link copied to clipboard

Adds an Inspections (ReSharper) build step for gathering JetBrains ReSharper inspection results.

Link copied to clipboard

Adds a build step running a script with the specified content

Link copied to clipboard

Adds a Simple Build Tool (Scala) build step running SBT builds.

Link copied to clipboard

Adds an SMB Upload build step.

Link copied to clipboard

Adds an SSH Exec build step.

Link copied to clipboard

Adds an SSH Upload build step.

Link copied to clipboard
fun step(step: BuildStep)

Adds the specified step

fun step(init: BuildStep.() -> Unit): BuildStep

Adds a build step initialized with specified init block

Link copied to clipboard
open override fun validate(consumer: ErrorConsumer)

Validates this object and reports found errors to the provided consumer

Link copied to clipboard

Adds a build step running Visual Studio solution

Link copied to clipboard

Adds a build step running Visual Studio Tests

Link copied to clipboard

Adds a build step for running Xcode projects.