Skip to content

Commit 5ff55ed

Browse files
Merge pull request #93 from drone-plugins/feat/cli-update-6.0
Feat/sonar cli update 6.0
2 parents 3933c6c + 30a252a commit 5ff55ed

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.drone.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ steps:
1919
when:
2020
ref:
2121
- "refs/pull/**" # Only run for pull requests
22-
- name: publish-2.2.1
22+
- name: publish-2.3.0
2323
image: plugins/docker:20
2424
settings:
2525
# auto_tag: true
2626
# auto_tag_suffix: v2.0.2-java17
2727
tags:
28-
- v2.2.1
28+
- v2.3.0
2929
# - latest
3030
# - stable-java17
3131
daemon_off: false

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o harness-sonar
1515

1616
FROM amazoncorretto:17.0.8-alpine3.18
1717

18-
ARG SONAR_VERSION=5.0.1.3006
18+
ARG SONAR_VERSION=6.0.0.4432
1919
ARG SONAR_SCANNER_CLI=sonar-scanner-cli-${SONAR_VERSION}
2020
ARG SONAR_SCANNER=sonar-scanner-${SONAR_VERSION}
2121

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
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.2.1
6+
## Main Features - v2.3.0
77

8+
- Sonar CLI updated to 6.0.0.4432
89
- Execute SonarQube scans and handle the results
910
- Generate JUnit reports based on the scan results
1011
- Quality Gate status reporting + Metrics
@@ -23,7 +24,7 @@ Obs: USe branch and pr_key params for accuracy results matches when skiping the
2324
identifier: run_sonar
2425
spec:
2526
connectorRef: account.DockerHubDiego
26-
image: plugins/sonarqube-scanner:v2.2.1
27+
image: plugins/sonarqube-scanner:v2.3.0
2728
reports:
2829
type: JUnit
2930
spec:
@@ -45,7 +46,7 @@ Obs: USe branch and pr_key params for accuracy results matches when skiping the
4546
type: Plugin
4647
spec:
4748
connectorRef: <+input>
48-
image: plugins/sonarqube-scanner:v2.2.1
49+
image: plugins/sonarqube-scanner:v2.3.0
4950
reports:
5051
type: JUnit
5152
spec:
@@ -85,7 +86,7 @@ spec:
8586
identifier: check_sonar
8687
spec:
8788
connectorRef: account.DockerHubDiego
88-
image: plugins/sonarqube-scanner:v2.2.1
89+
image: plugins/sonarqube-scanner:v2.3.0
8990
reports:
9091
type: JUnit
9192
spec:

0 commit comments

Comments
 (0)