From 74f28a19ef5568082d707becbcad430a23bf0c82 Mon Sep 17 00:00:00 2001 From: Marcus Holl Date: Mon, 5 Nov 2018 13:20:41 +0100 Subject: [PATCH] Fix codeclimate remarks --- documentation/docs/steps/mavenExecute.md | 4 +++- documentation/docs/steps/testsPublishResults.md | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/documentation/docs/steps/mavenExecute.md b/documentation/docs/steps/mavenExecute.md index 5122ca2ae..3a68a9bd2 100644 --- a/documentation/docs/steps/mavenExecute.md +++ b/documentation/docs/steps/mavenExecute.md @@ -19,7 +19,9 @@ Executes a maven command inside a Docker container. | `defines` | no | | '-Dmaven.tests.skip=true' | | `logSuccessfulMavenTransfers` | no | `false` | 'true' | -* `script` defines the global script environment of the Jenkinsfile run. Typically `this` is passed to this parameter. This allows the function to access the commonPipelineEnvironment for retrieving, for example, configuration parameters.. +* `script` defines the global script environment of the Jenkinsfile run. + Typically `this` is passed to this parameter. This allows the function + to access the commonPipelineEnvironment for retrieving, for example, configuration parameters.. * `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. * `projectSettingsFile` Path or url to the mvn settings file that should be used as project settings file. diff --git a/documentation/docs/steps/testsPublishResults.md b/documentation/docs/steps/testsPublishResults.md index f945bbba7..359bf5300 100644 --- a/documentation/docs/steps/testsPublishResults.md +++ b/documentation/docs/steps/testsPublishResults.md @@ -37,7 +37,11 @@ Available parameters: | cobertura | no | `false` | true, false | | jmeter | no | `false` | true, false | -* `script` - The common script environment of the Jenkinsfile running. Typically the reference to the script calling the pipeline step is provided with the `this` parameter, as in `script: this`. This allows the function to access the [`commonPipelineEnvironment`](commonPipelineEnvironment.md) for retrieving, for example, configuration parameters. +* `script` - The common script environment of the Jenkinsfile running. + Typically the reference to the script calling the pipeline step is provided + with the `this` parameter, as in `script: this`. + This allows the function to access the [`commonPipelineEnvironment`](commonPipelineEnvironment.md) + for retrieving, for example, configuration parameters. * `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) . * `cobertura` - Publishes code coverage with the [Cobertura plugin](https://plugins.jenkins.io/cobertura).