Skip to content

Commit 7018b9c

Browse files
Upgrade SonarScanner for Maven to version 5.3.0.6276
# Conflicts: # build-maven/build.sh
1 parent 674d46c commit 7018b9c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build-maven/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
# - DEPLOY: Whether to deploy (default: true)
3737
# - DEPLOY_PULL_REQUEST: Whether to deploy pull request artifacts (default: false)
3838
# - SONAR_SCANNER_JAVA_OPTS: JVM options for SonarQube scanner (e.g. -Xmx512m)
39-
# - SCANNER_VERSION: SonarQube Maven plugin version (default: 5.1.0.4751)
39+
# - SCANNER_VERSION: SonarQube Maven plugin version (default: 5.3.0.6276)
4040
# - USER_MAVEN_ARGS: Additional arguments to pass to Maven
4141
# shellcheck source-path=SCRIPTDIR
4242

@@ -67,7 +67,7 @@ export ARTIFACTORY_URL DEPLOY_PULL_REQUEST
6767
export BUILD_ID=$BUILD_NUMBER
6868

6969
# SonarQube parameters
70-
: "${SCANNER_VERSION:=5.1.0.4751}"
70+
: "${SCANNER_VERSION:=5.3.0.6276}"
7171
readonly SONAR_GOAL="org.sonarsource.scanner.maven:sonar-maven-plugin:${SCANNER_VERSION}:sonar"
7272

7373
# CALLBACK IMPLEMENTATION: SonarQube scanner execution

spec/build-maven_spec.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export SQC_US_TOKEN="sqc-us-token"
4545
export SQC_EU_URL="https://sonarqube.eu.sonarsource.com"
4646
export SQC_EU_TOKEN="sqc-eu-token"
4747
export RUN_SHADOW_SCANS="false"
48-
export SCANNER_VERSION="5.1.0.4751"
48+
export SCANNER_VERSION="5.3.0.6276"
4949
export CURRENT_VERSION="1.2.3-SNAPSHOT"
5050
export PROJECT_VERSION="1.2.3.42"
5151

@@ -206,7 +206,7 @@ Describe 'run_sonar_scanner()'
206206
When call sonar_scanner_implementation
207207
The status should be success
208208
The line 2 should include "mvn"
209-
The line 2 should include "org.sonarsource.scanner.maven:sonar-maven-plugin:5.1.0.4751:sonar"
209+
The line 2 should include "org.sonarsource.scanner.maven:sonar-maven-plugin:5.3.0.6276:sonar"
210210
The line 2 should include "-Dsonar.host.url=https://test.sonarqube.com"
211211
The line 2 should include "-Dsonar.token=test-token"
212212
The line 2 should include "-Dsonar.projectVersion=1.2.3-SNAPSHOT"

0 commit comments

Comments
 (0)