Fork me on GitHub

hpi:test-runtime

Full name:

org.jenkins-ci.tools:maven-hpi-plugin:3.55-SNAPSHOT:test-runtime

Description:

Configure Surefire for the desired version of Java.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: test.
  • The goal is not marked as thread-safe and thus does not support parallel builds.

Optional Parameters

Name Type Since Description
<jenkinsCoreId> String 1.65 Optional string that represents "groupId:artifactId" of Jenkins core jar. If left unspecified, the default groupId/artifactId pair for Jenkins is looked for.
<jenkinsCoreVersionOverride> String - Optional string that represents the version of Jenkins core to report plugins as requiring. This parameter is only used when unbundling functionality from Jenkins core and the version specified will be ignored if older than the autodetected version.
<patchModuleDir> File - Directory where unpacked patch modules should be cached.
Default: ${project.build.directory}/patch-modules
<skip> boolean - Set to true when we are neither compiling nor running the tests.
Default: false
User Property: maven.test.skip
<skipTests> boolean - Set to true when we are compiling the tests but not running them.
Default: false
User Property: skipTests

Parameter Details

<jenkinsCoreId>

Optional string that represents "groupId:artifactId" of Jenkins core jar. If left unspecified, the default groupId/artifactId pair for Jenkins is looked for.
  • Type: java.lang.String
  • Since: 1.65
  • Required: No

<jenkinsCoreVersionOverride>

Optional string that represents the version of Jenkins core to report plugins as requiring. This parameter is only used when unbundling functionality from Jenkins core and the version specified will be ignored if older than the autodetected version.
  • Type: java.lang.String
  • Required: No

<patchModuleDir>

Directory where unpacked patch modules should be cached.
  • Type: java.io.File
  • Required: No
  • Default: ${project.build.directory}/patch-modules

<skip>

Set to true when we are neither compiling nor running the tests.
  • Type: boolean
  • Required: No
  • User Property: maven.test.skip
  • Default: false

<skipTests>

Set to true when we are compiling the tests but not running them.
  • Type: boolean
  • Required: No
  • User Property: skipTests
  • Default: false