Skip to content

Commit

Permalink
Upgrades sonar scanner version to fix the failing coverage pipeline a…
Browse files Browse the repository at this point in the history
…fter recent version upgrade of SonarQube server

Signed-off-by: Vasu1105 <[email protected]>
  • Loading branch information
Vasu1105 committed Jul 1, 2024
1 parent b80170d commit 4f2e840
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .expeditor/buildkite/coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ RAKE_EXIT=$?

if [ -n "${CI_ENABLE_COVERAGE:-}" ]; then
echo "--- installing sonarscanner"
export SONAR_SCANNER_VERSION=4.7.0.2747
export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux
curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux.zip
export SONAR_SCANNER_VERSION=6.1.0.4477
export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux-x64
curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux-x64.zip
unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/
export PATH=$SONAR_SCANNER_HOME/bin:$PATH
export SONAR_SCANNER_OPTS="-server"
Expand Down

0 comments on commit 4f2e840

Please sign in to comment.