1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-30 05:59:39 +02:00

Fix codeclimate remarks

This commit is contained in:
Marcus Holl 2018-11-05 13:22:47 +01:00
parent 74f28a19ef
commit f91d9aa1d0
2 changed files with 5 additions and 5 deletions

View File

@ -20,8 +20,8 @@ Executes a maven command inside a Docker container.
| `logSuccessfulMavenTransfers` | no | `false` | 'true' | | `logSuccessfulMavenTransfers` | no | `false` | 'true' |
* `script` defines the global script environment of the Jenkinsfile run. * `script` defines the global script environment of the Jenkinsfile run.
Typically `this` is passed to this parameter. This allows the function Typically `this` is passed to this parameter. This allows the function
to access the commonPipelineEnvironment for retrieving, for example, configuration parameters.. to access the commonPipelineEnvironment for retrieving, for example, configuration parameters..
* `dockerImage` Name of the docker image that should be used. * `dockerImage` Name of the docker image that should be used.
* `globalSettingsFile` Path or url to the mvn settings file that should be used as global settings file. * `globalSettingsFile` Path or url to the mvn settings file that should be used as global settings file.
* `projectSettingsFile` Path or url to the mvn settings file that should be used as project settings file. * `projectSettingsFile` Path or url to the mvn settings file that should be used as project settings file.

View File

@ -38,9 +38,9 @@ Available parameters:
| jmeter | no | `false` | true, false | | jmeter | no | `false` | true, false |
* `script` - The common script environment of the Jenkinsfile running. * `script` - The common script environment of the Jenkinsfile running.
Typically the reference to the script calling the pipeline step is provided Typically the reference to the script calling the pipeline step is provided
with the `this` parameter, as in `script: this`. with the `this` parameter, as in `script: this`.
This allows the function to access the [`commonPipelineEnvironment`](commonPipelineEnvironment.md) This allows the function to access the [`commonPipelineEnvironment`](commonPipelineEnvironment.md)
for retrieving, for example, configuration parameters. for retrieving, for example, configuration parameters.
* `junit` - Publishes test results files in JUnit format with the [JUnit Plugin](https://plugins.jenkins.io/junit). * `junit` - Publishes test results files in JUnit format with the [JUnit Plugin](https://plugins.jenkins.io/junit).
* `jacoco` - Publishes code coverage with the [JaCoCo plugin](https://plugins.jenkins.io/jacoco) . * `jacoco` - Publishes code coverage with the [JaCoCo plugin](https://plugins.jenkins.io/jacoco) .