1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-11-24 08:32:32 +02:00

Fix codeclimate remarks

This commit is contained in:
Marcus Holl 2018-11-05 12:33:41 +01:00
parent b53f260fd3
commit 5d444aa4ba
5 changed files with 5 additions and 5 deletions

View File

@ -39,7 +39,7 @@ void call(Map parameters = [:]) {
.use() .use()
new Utils().pushToSWA([step: STEP_NAME, new Utils().pushToSWA([step: STEP_NAME,
stepParam1: parameters?.script == null], configuration) stepParam1: parameters?.script == null], configuration)
if (!configuration.artifactVersion) { if (!configuration.artifactVersion) {
//this takes care that terminated builds due to milestone-locking do not cause an error //this takes care that terminated builds due to milestone-locking do not cause an error

View File

@ -38,7 +38,7 @@ void call(Map parameters = [:]) {
.use() .use()
new Utils().pushToSWA([step: STEP_NAME, new Utils().pushToSWA([step: STEP_NAME,
stepParam1: parameters?.script == null], configuration) stepParam1: parameters?.script == null], configuration)
String command = "mvn" String command = "mvn"

View File

@ -37,7 +37,7 @@ void call(Map parameters = [:]) {
.use() .use()
new Utils().pushToSWA([step: STEP_NAME, new Utils().pushToSWA([step: STEP_NAME,
stepParam1: parameters?.script == null], configuration) stepParam1: parameters?.script == null], configuration)
dockerExecute(script: script, dockerImage: configuration.dockerImage, dockerOptions: configuration.dockerOptions) { dockerExecute(script: script, dockerImage: configuration.dockerImage, dockerOptions: configuration.dockerOptions) {
def java = new ToolDescriptor('Java', 'JAVA_HOME', '', '/bin/', 'java', '1.8.0', '-version 2>&1') def java = new ToolDescriptor('Java', 'JAVA_HOME', '', '/bin/', 'java', '1.8.0', '-version 2>&1')

View File

@ -38,7 +38,7 @@ void call(Map parameters = [:]) {
.use() .use()
new Utils().pushToSWA([step: STEP_NAME, new Utils().pushToSWA([step: STEP_NAME,
stepParam1: parameters?.script == null], config) stepParam1: parameters?.script == null], config)
config.stashContent = config.testRepository config.stashContent = config.testRepository
?[GitUtils.handleTestRepository(this, config)] ?[GitUtils.handleTestRepository(this, config)]

View File

@ -35,7 +35,7 @@ void call(Map parameters = [:]) {
.use() .use()
new Utils().pushToSWA([step: STEP_NAME, new Utils().pushToSWA([step: STEP_NAME,
stepParam1: parameters?.script == null], config) stepParam1: parameters?.script == null], config)
// store files to be checked with checkmarx // store files to be checked with checkmarx
if (config.runCheckmarx) { if (config.runCheckmarx) {