Fork me on GitHub

hpi:insert-test

Full name:

org.jenkins-ci.tools:maven-hpi-plugin:3.6:insert-test

Description:

Insert default test suite.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: test.
  • Binds by default to the lifecycle phase: generate-test-sources.

Optional Parameters

Name Type Since Description
disabledTestInjection boolean - If true, the automatic test injection will be skipped.
Default value is: false.
User property is: maven-hpi-plugin.disabledTestInjection.
injectedTestName String - Name of the injected test. You may change this to "InjectIT" to get the test running during phase integration-test.
Default value is: InjectedTest.
User property is: maven-hpi-plugin.injectedTestName.
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.
jenkinsTestHarnessId String 1.119 Optional string that represents "groupId:artifactId" of the Jenkins test harness. If left unspecified, the default groupId/artifactId pair for the Jenkins test harness is looked for.
Default value is: org.jenkins-ci.main:jenkins-test-harness.
requirePI boolean - If true, verify that all the jelly scripts have the Jelly XSS PI in them.
Default value is: true.
User property is: jelly.requirePI.

Parameter Details

disabledTestInjection:

If true, the automatic test injection will be skipped.
  • Type: boolean
  • Required: No
  • User Property: maven-hpi-plugin.disabledTestInjection
  • Default: false

injectedTestName:

Name of the injected test. You may change this to "InjectIT" to get the test running during phase integration-test.
  • Type: java.lang.String
  • Required: No
  • User Property: maven-hpi-plugin.injectedTestName
  • Default: InjectedTest

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

jenkinsTestHarnessId:

Optional string that represents "groupId:artifactId" of the Jenkins test harness. If left unspecified, the default groupId/artifactId pair for the Jenkins test harness is looked for.
  • Type: java.lang.String
  • Since: 1.119
  • Required: No
  • Default: org.jenkins-ci.main:jenkins-test-harness

requirePI:

If true, verify that all the jelly scripts have the Jelly XSS PI in them.
  • Type: boolean
  • Required: No
  • User Property: jelly.requirePI
  • Default: true