1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00

switch type

This commit is contained in:
Christopher Fenner 2020-10-09 11:47:06 +02:00
parent bf18e861cc
commit 90ef520fe3
No known key found for this signature in database
GPG Key ID: 1D72FE34B3FECE9C

View File

@ -87,11 +87,11 @@ func sonarExecuteScan(config sonarExecuteScanOptions, _ *telemetry.CustomData, i
options: []string{},
}
influx.step_data.fields.sonar = "false"
influx.step_data.fields.sonar = false
if err := runSonar(config, &client, &runner); err != nil {
log.Entry().WithError(err).Fatal("Execution failed")
}
influx.step_data.fields.sonar = "true"
influx.step_data.fields.sonar = true
}
func runSonar(config sonarExecuteScanOptions, client piperhttp.Downloader, runner command.ExecRunner) error {