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:
parent
b53f260fd3
commit
5d444aa4ba
@ -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
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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')
|
||||||
|
@ -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)]
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user