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:
parent
bf18e861cc
commit
90ef520fe3
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user