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 e57c664 commit 9f29a8fCopy full SHA for 9f29a8f
plugin.go
@@ -514,6 +514,10 @@ func (p Plugin) Exec() error {
514
args = append(args, "-Dsonar.projectKey="+p.Config.Key)
515
}
516
517
+ if len(p.Config.Workspace) >= 1 {
518
+ args = append(args, "-Dsonar.projectBaseDir="+p.Config.Workspace)
519
+ }
520
+
521
} else {
522
// Error checking the file
523
return fmt.Errorf("error checking configuration file: %v", err)
0 commit comments