We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05cfe14 commit 2d4de42Copy full SHA for 2d4de42
plugin.go
@@ -474,6 +474,13 @@ func (p Plugin) Exec() error {
474
params := strings.Split(p.Config.CustomJvmParams, ",")
475
args = append(args, params...)
476
}
477
+
478
+ if len(p.Config.SonarOPS) >= 1 {
479
+ existingOpts := os.Getenv("SONAR_SCANNER_OPTS")
480
+ newOpts := existingOpts + " " + p.Config.SonarOPS
481
+ os.Setenv("SONAR_SCANNER_OPTS", newOpts)
482
+ }
483
484
taskFilePath := ".scannerwork/report-task.txt"
485
486
if len(p.Config.Workspace) >= 1 {
0 commit comments