hpi:insert-test
Full name:
org.jenkins-ci.tools:maven-hpi-plugin:3.59-SNAPSHOT:insert-test
Description:
Insert default test suite.
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.
- 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: false User Property: 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: InjectedTest User Property: maven-hpi-plugin.injectedTestName |
<injectedTestPackage> |
String |
- |
Package name of the injected test.
This is used to determine the package name of the generated test. For compatibility with Java package names,
Default: ${project.groupId}.${project.artifactId} User Property: maven-hpi-plugin.injectedTestPackage |
<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: 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: true User Property: 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
<injectedTestPackage>
Package name of the injected test.
This is used to determine the package name of the generated test.
For compatibility with Java package names,
"-"
gets replaced by"_"
- If starting with a digit, a
"_"
is prepended.
- Type:
java.lang.String
- Required:
No
- User Property:
maven-hpi-plugin.injectedTestPackage
- Default:
${project.groupId}.${project.artifactId}
<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