Skip to content

Commit

Permalink
fix: Build pipeline failed for go operator sdk on sonar step (#12)
Browse files Browse the repository at this point in the history
For go operator sdk, we have yaml configs in the directory "config". Added this directory to the exclusions for the sonar.

Jira EPMDEDP-12639

Change-Id: I064a13c079f910356eeb7d8fae998b12eeb2c33a
(cherry picked from commit c5db11d)
  • Loading branch information
zmotso authored and MykolaMarusenko committed Sep 25, 2023
1 parent 331dfbb commit ba962f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/templates/sonar/go-sonar-project.properties.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ sonar.projectKey={{.Name}}
sonar.projectName={{.Name}}
sonar.go.coverage.reportPaths=coverage.out
sonar.test.inclusions=**/*_test.go
sonar.exclusions=**/cmd/**,**/deploy/**,**/deploy-templates/**,**/*.groovy
sonar.exclusions=**/cmd/**,**/deploy/**,**/deploy-templates/**,**/*.groovy,**/config/**

0 comments on commit ba962f5

Please sign in to comment.