open class MavenBuildStep : BuildStep
A build step running maven
See Also
sealed class CoverageEngine : CompoundParam<CoverageEngine> |
|
enum class ImagePlatform
Docker image platforms |
|
sealed class MavenVersion : CompoundParam<MavenVersion> |
|
enum class RepositoryScope
Maven local repository scope. |
MavenBuildStep(init: MavenBuildStep.() -> Unit) MavenBuildStep()
A build step running maven |
var coverageEngine: CoverageEngine?
Specifies coverage engine to use |
|
var dockerImage: String?
Specifies which Docker image to use for running this build step. I.e. the build step will be run inside specified docker image, using 'docker run' wrapper. |
|
var dockerImagePlatform: ImagePlatform?
Specifies which Docker image platform will be used to run this build step. |
|
var dockerPull: Boolean?
If enabled, "docker pull image" will be run before docker run. |
|
var dockerRunParameters: String?
Additional docker run command arguments |
|
var goals: String?
Space-separated list of goals to execute |
|
var isIncremental: Boolean?
Enable incremental building |
|
var jdkHome: String?
A path to JDK to use. By default the JAVA_HOME environment variable or the agent's own Java is used. |
|
var jvmArgs: String?
Space-separated list of additional arguments for JVM |
|
var localRepoScope: RepositoryScope? |
|
var mavenVersion: MavenVersion?
Maven version to use |
|
var pomLocation: String?
Path to POM file. Should be relative to the checkout directory. |
|
var runnerArgs: String?
Additional Maven command line parameters. |
|
var
Use own local artifact repository |
|
var userSettingsPath: String?
The path to a user settings file |
|
var userSettingsSelection: String?
Use one of the predefined settings files or provide a custom path. By default, the standard Maven settings file location is used. |
|
var workingDir: String?
Custom working directory for maven. If not specified, the checkout directory is used. |
var conditions: BuildStepConditions
Optional collection of build step execution conditions |
|
var enabled: Boolean
Specifies whether the step is enabled, true by default |
|
var executionMode: ExecutionMode
Build step execution mode |
|
var id: String?
Id of the step, if not specified will be generated |
|
var name: String
Build step name |
|
var type: String
Build step type |
fun auto(): Auto
Maven version specified by the M2_HOME environment variable. If the environment variable is empty, then the default Maven version provided by TeamCity server will be used. |
|
fun bundled_2(): Bundled_2
Use maven 2 bundled with TeamCity |
|
fun bundled_3_0(): Bundled_3_0
Use maven 3.0.5 bundled with TeamCity |
|
fun bundled_3_1(): Bundled_3_1
Use maven 3.1.1 bundled with TeamCity |
|
fun bundled_3_2(): Bundled_3_2
Use maven 3.2.5 bundled with TeamCity |
|
fun bundled_3_3(): Bundled_3_3
Use maven 3.3.9 bundled with TeamCity |
|
fun bundled_3_5(): Bundled_3_5
Use maven 3.5.4 bundled with TeamCity |
|
fun bundled_3_6(): Bundled_3_6
Use maven 3.6.3 bundled with TeamCity |
|
fun custom(init: Custom.() -> Unit = {}): Custom
The custom Maven version found at the specified path |
|
fun
In TeamCity 10.0 the meaning of this option was: Maven version specified in M2_HOME environment variable, if the environment variable is empty, then the Maven version 3.0.5. In TeamCity 2017.1 this option is renamed to auto(), please use it instead. If you want to always use the default Maven version provided by TeamCity server, switch to defaultProvidedVersion(). |
|
fun defaultProvidedVersion(): DefaultProvidedVersion
The default Maven version provided by TeamCity server |
|
fun idea(init: Idea.() -> Unit = {}): Idea |
|
fun jacoco(init: Jacoco.() -> Unit = {}): Jacoco |
|
open fun validate(consumer: ErrorConsumer): Unit
Validates this object and reports found errors to the provided consumer |
fun clearConditions(): Unit
Deletes all configured build step conditions |
|
fun conditions(init: BuildStepConditions.() -> Unit = {}): Unit
Configures build step conditions |
|
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. |
|
open fun toString(): String |