Skip to content

Commit ff61704

Browse files
Merge pull request #91 from diegopereiraeng/main
README Update
2 parents 0ca9203 + bc7177f commit ff61704

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
This plugin is designed to run SonarQube scans and handle the results and convert it to JUnit Format. It's written in Go and check the report results for status OK.
55

6-
## Main Features - v2.0.2-java17
6+
## Main Features - v2.2.1
77

88
- Execute SonarQube scans and handle the results
99
- Generate JUnit reports based on the scan results
@@ -23,12 +23,12 @@ Obs: USe branch and pr_key params for accuracy results matches when skiping the
2323
identifier: run_sonar
2424
spec:
2525
connectorRef: account.DockerHubDiego
26-
image: plugins/sonarqube-scanner:v2.0.2-java17
26+
image: plugins/sonarqube-scanner:v2.2.1
2727
reports:
2828
type: JUnit
2929
spec:
3030
paths:
31-
- "**/**/*.xml"
31+
- "SonarResults.xml"
3232
privileged: false
3333
settings:
3434
sonar_host: http://34.100.11.50
@@ -45,12 +45,12 @@ Obs: USe branch and pr_key params for accuracy results matches when skiping the
4545
type: Plugin
4646
spec:
4747
connectorRef: <+input>
48-
image: plugins/sonarqube-scanner:v2.0.2-java17
48+
image: plugins/sonarqube-scanner:v2.2.1
4949
reports:
5050
type: JUnit
5151
spec:
5252
paths:
53-
- "**/**/*.xml"
53+
- "SonarResults.xml"
5454
settings:
5555
sonar_key: <+input>
5656
sonar_name: <+input>
@@ -85,12 +85,12 @@ spec:
8585
identifier: check_sonar
8686
spec:
8787
connectorRef: account.DockerHubDiego
88-
image: plugins/sonarqube-scanner:v2.0.2-java17
88+
image: plugins/sonarqube-scanner:v2.2.1
8989
reports:
9090
type: JUnit
9191
spec:
9292
paths:
93-
- "**/**/*.xml"
93+
- "SonarResults.xml"
9494
privileged: false
9595
settings:
9696
sonar_host: https://sonarcloud.io
@@ -121,7 +121,7 @@ spec:
121121
- `inclusions`: The files to be included in the analysis.
122122
- Example: `"inclusions": "*.go, *.java"`
123123
- `exclusions`: The files to be excluded from the analysis.
124-
- Example: `"exclusions": "*.test.go"`
124+
- Example: `"exclusions": "**/test/**/*.*,**/*.test.go"`
125125
- `level`: The logging level.
126126
- Example: `"level": "INFO"`
127127
- `showProfiling`: Enable profiling during analysis.
@@ -167,7 +167,7 @@ spec:
167167
- `pr_base`: PR Base.
168168
- Example: `"pr_base": "your-pr-base"`
169169
- `coverage_exclusion`: Sonar coverage exclusions.
170-
- Example: `"coverage_exclusion": "*.test.go"`
170+
- Example: `"coverage_exclusion": "**/test/**/*.*,**/*.test.go"`
171171
- `java_source`: Sonar Java source.
172172
- Example: `"java_source": "1.8"`
173173
- `java_libraries`: Sonar Java libraries.

0 commit comments

Comments
 (0)