File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 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
6767export BUILD_ID=$BUILD_NUMBER
6868
6969# SonarQube parameters
70- : " ${SCANNER_VERSION:= 5.1 .0.4751 } "
70+ : " ${SCANNER_VERSION:= 5.3 .0.6276 } "
7171readonly SONAR_GOAL=" org.sonarsource.scanner.maven:sonar-maven-plugin:${SCANNER_VERSION} :sonar"
7272
7373# CALLBACK IMPLEMENTATION: SonarQube scanner execution
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export SQC_US_TOKEN="sqc-us-token"
4545export SQC_EU_URL=" https://sonarqube.eu.sonarsource.com"
4646export SQC_EU_TOKEN=" sqc-eu-token"
4747export RUN_SHADOW_SCANS=" false"
48- export SCANNER_VERSION=" 5.1 .0.4751 "
48+ export SCANNER_VERSION=" 5.3 .0.6276 "
4949export CURRENT_VERSION=" 1.2.3-SNAPSHOT"
5050export 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"
You can’t perform that action at this time.
0 commit comments