From: Julien HENRY Date: Tue, 24 Sep 2024 13:42:23 +0000 (+0200) Subject: SONAR-23139 Update Scanner CLI to latest release X-Git-Tag: 10.7.0.96327~9 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=929368eb01081cd9d0d3414a5e915153711a5802;p=sonarqube.git SONAR-23139 Update Scanner CLI to latest release --- diff --git a/server/sonar-web/src/main/js/components/tutorials/bitbucket-pipelines/__tests__/__snapshots__/BitbucketPipelinesTutorial-it.tsx.snap b/server/sonar-web/src/main/js/components/tutorials/bitbucket-pipelines/__tests__/__snapshots__/BitbucketPipelinesTutorial-it.tsx.snap index 0bf465301ee..baad88f8871 100644 --- a/server/sonar-web/src/main/js/components/tutorials/bitbucket-pipelines/__tests__/__snapshots__/BitbucketPipelinesTutorial-it.tsx.snap +++ b/server/sonar-web/src/main/js/components/tutorials/bitbucket-pipelines/__tests__/__snapshots__/BitbucketPipelinesTutorial-it.tsx.snap @@ -1,38 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`should follow and complete all steps: Dart: sonar-project.properties 1`] = `"sonar.projectKey=my-project"`; - -exports[`should follow and complete all steps: Dart: bitbucket-pipelines.yml 1`] = ` -"image: ghcr.io/cirruslabs/flutter:stable - -definitions: - steps: - - step: &build-step - name: Build the project, and run the SonarQube analysis - script: - - - - export SONAR_SCANNER_VERSION=6.1.0.4477 - - mkdir $HOME/.sonar - - curl -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="$PATH:$HOME/.sonar/sonar-scanner-\${SONAR_SCANNER_VERSION}-linux-x64/bin" - - sonar-scanner - caches: - sonar: ~/.sonar - -clone: - depth: full - -pipelines: - branches: - '{main}': - - step: *build-step - - pull-requests: - '**': - - step: *build-step" -`; - exports[`should follow and complete all steps: .NET: bitbucket-pipelines.yml 1`] = ` "image: mcr.microsoft.com/dotnet/sdk:7.0 @@ -132,7 +99,7 @@ definitions: - step: &build-step name: Build the project, and run the SonarQube analysis script: - - export SONAR_SCANNER_VERSION=6.1.0.4477 + - export SONAR_SCANNER_VERSION=6.2.0.4584 - mkdir $HOME/.sonar - curl -sSLo $HOME/.sonar/build-wrapper-linux-aarch64.zip \${SONAR_HOST_URL}/static/cpp/build-wrapper-linux-aarch64.zip - unzip -o $HOME/.sonar/build-wrapper-linux-aarch64.zip -d $HOME/.sonar/ @@ -170,7 +137,7 @@ definitions: - step: &build-step name: Build the project, and run the SonarQube analysis script: - - export SONAR_SCANNER_VERSION=6.1.0.4477 + - export SONAR_SCANNER_VERSION=6.2.0.4584 - mkdir $HOME/.sonar - curl -sSLo $HOME/.sonar/build-wrapper-linux-aarch64.zip \${SONAR_HOST_URL}/static/cpp/build-wrapper-linux-aarch64.zip - unzip -o $HOME/.sonar/build-wrapper-linux-aarch64.zip -d $HOME/.sonar/ @@ -204,7 +171,7 @@ definitions: - step: &build-step name: Build the project, and run the SonarQube analysis script: - - export SONAR_SCANNER_VERSION=6.1.0.4477 + - export SONAR_SCANNER_VERSION=6.2.0.4584 - mkdir $HOME/.sonar - curl -sSLo $HOME/.sonar/build-wrapper-linux-x86.zip \${SONAR_HOST_URL}/static/cpp/build-wrapper-linux-x86.zip - unzip -o $HOME/.sonar/build-wrapper-linux-x86.zip -d $HOME/.sonar/ @@ -242,7 +209,7 @@ definitions: - step: &build-step name: Build the project, and run the SonarQube analysis script: - - export SONAR_SCANNER_VERSION=6.1.0.4477 + - export SONAR_SCANNER_VERSION=6.2.0.4584 - mkdir $HOME/.sonar - curl -sSLo $HOME/.sonar/build-wrapper-linux-x86.zip \${SONAR_HOST_URL}/static/cpp/build-wrapper-linux-x86.zip - unzip -o $HOME/.sonar/build-wrapper-linux-x86.zip -d $HOME/.sonar/ @@ -268,6 +235,39 @@ pipelines: - step: *build-step" `; +exports[`should follow and complete all steps: Dart: bitbucket-pipelines.yml 1`] = ` +"image: ghcr.io/cirruslabs/flutter:stable + +definitions: + steps: + - step: &build-step + name: Build the project, and run the SonarQube analysis + script: + - + - export SONAR_SCANNER_VERSION=6.2.0.4584 + - mkdir $HOME/.sonar + - curl -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="$PATH:$HOME/.sonar/sonar-scanner-\${SONAR_SCANNER_VERSION}-linux-x64/bin" + - sonar-scanner + caches: + sonar: ~/.sonar + +clone: + depth: full + +pipelines: + branches: + '{main}': + - step: *build-step + + pull-requests: + '**': + - step: *build-step" +`; + +exports[`should follow and complete all steps: Dart: sonar-project.properties 1`] = `"sonar.projectKey=my-project"`; + exports[`should follow and complete all steps: Gradle: bitbucket-pipelines.yml 1`] = ` "image: eclipse-temurin:17 diff --git a/server/sonar-web/src/main/js/components/tutorials/gitlabci/__tests__/__snapshots__/GitLabCITutorial-it.tsx.snap b/server/sonar-web/src/main/js/components/tutorials/gitlabci/__tests__/__snapshots__/GitLabCITutorial-it.tsx.snap index 837ac1681a8..9d7f5f44b36 100644 --- a/server/sonar-web/src/main/js/components/tutorials/gitlabci/__tests__/__snapshots__/GitLabCITutorial-it.tsx.snap +++ b/server/sonar-web/src/main/js/components/tutorials/gitlabci/__tests__/__snapshots__/GitLabCITutorial-it.tsx.snap @@ -67,9 +67,9 @@ get-binaries: - build-wrapper/ script: # Download sonar-scanner - - curl -sSLo ./sonar-scanner.zip 'https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-6.1.0.4477-linux-x64.zip' + - curl -sSLo ./sonar-scanner.zip 'https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-6.2.0.4584-linux-x64.zip' - unzip -o sonar-scanner.zip - - mv sonar-scanner-6.1.0.4477-linux-x64 sonar-scanner + - mv sonar-scanner-6.2.0.4584-linux-x64 sonar-scanner # Download build-wrapper - curl -sSLo ./build-wrapper-linux-x86.zip "$SONAR_HOST_URL/static/cpp/build-wrapper-linux-x86.zip" - unzip -o build-wrapper-linux-x86.zip @@ -133,9 +133,9 @@ get-binaries: script: # Download sonar-scanner - - curl -sSLo ./sonar-scanner.zip 'https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-6.1.0.4477-linux-x64.zip' + - curl -sSLo ./sonar-scanner.zip 'https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-6.2.0.4584-linux-x64.zip' - unzip -o sonar-scanner.zip - - mv sonar-scanner-6.1.0.4477-linux-x64 sonar-scanner + - mv sonar-scanner-6.2.0.4584-linux-x64 sonar-scanner rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' @@ -206,9 +206,9 @@ get-binaries: script: # Download sonar-scanner - - curl -sSLo ./sonar-scanner.zip 'https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-6.1.0.4477-linux-x64.zip' + - curl -sSLo ./sonar-scanner.zip 'https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-6.2.0.4584-linux-x64.zip' - unzip -o sonar-scanner.zip - - mv sonar-scanner-6.1.0.4477-linux-x64 sonar-scanner + - mv sonar-scanner-6.2.0.4584-linux-x64 sonar-scanner rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' diff --git a/server/sonar-web/src/main/js/components/tutorials/other/__tests__/__snapshots__/OtherTutorial-it.tsx.snap b/server/sonar-web/src/main/js/components/tutorials/other/__tests__/__snapshots__/OtherTutorial-it.tsx.snap index 63b38edb9fc..d1616af96b7 100644 --- a/server/sonar-web/src/main/js/components/tutorials/other/__tests__/__snapshots__/OtherTutorial-it.tsx.snap +++ b/server/sonar-web/src/main/js/components/tutorials/other/__tests__/__snapshots__/OtherTutorial-it.tsx.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`can choose build tools and copy provided settings: Dart linux: download scanner 1`] = ` -"export SONAR_SCANNER_VERSION=6.1.0.4477 +"export SONAR_SCANNER_VERSION=6.2.0.4584 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/ @@ -17,25 +17,8 @@ exports[`can choose build tools and copy provided settings: Dart linux: execute -Dsonar.host.url=http://localhost:9000" `; -exports[`can choose build tools and copy provided settings: Dart windows: download scanner 1`] = ` -"$env:SONAR_SCANNER_VERSION = "6.1.0.4477" -$env:SONAR_DIRECTORY = [System.IO.Path]::Combine($(get-location).Path,".sonar") -$env:SONAR_SCANNER_HOME = "$env:SONAR_DIRECTORY/sonar-scanner-$env:SONAR_SCANNER_VERSION-windows-x64" -rm $env:SONAR_SCANNER_HOME -Force -Recurse -ErrorAction SilentlyContinue -New-Item -path $env:SONAR_SCANNER_HOME -type directory -(New-Object System.Net.WebClient).DownloadFile("https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$env:SONAR_SCANNER_VERSION-windows-x64.zip", "$env:SONAR_DIRECTORY/sonar-scanner.zip") -Add-Type -AssemblyName System.IO.Compression.FileSystem -[System.IO.Compression.ZipFile]::ExtractToDirectory("$env:SONAR_DIRECTORY/sonar-scanner.zip", "$env:SONAR_DIRECTORY") -rm ./.sonar/sonar-scanner.zip -Force -ErrorAction SilentlyContinue -$env:Path += ";$env:SONAR_SCANNER_HOME/bin" -$env:SONAR_SCANNER_OPTS="-server" -" -`; - -exports[`can choose build tools and copy provided settings: Dart windows: execute scanner 1`] = `"sonar-scanner.bat -D"sonar.projectKey=my-project" -D"sonar.sources=." -D"sonar.host.url=http://localhost:9000""`; - exports[`can choose build tools and copy provided settings: Dart macos: download scanner 1`] = ` -"export SONAR_SCANNER_VERSION=6.1.0.4477 +"export SONAR_SCANNER_VERSION=6.2.0.4584 export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-macosx-x64 curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-macosx-x64.zip unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/ @@ -51,8 +34,25 @@ exports[`can choose build tools and copy provided settings: Dart macos: execute -Dsonar.host.url=http://localhost:9000" `; +exports[`can choose build tools and copy provided settings: Dart windows: download scanner 1`] = ` +"$env:SONAR_SCANNER_VERSION = "6.2.0.4584" +$env:SONAR_DIRECTORY = [System.IO.Path]::Combine($(get-location).Path,".sonar") +$env:SONAR_SCANNER_HOME = "$env:SONAR_DIRECTORY/sonar-scanner-$env:SONAR_SCANNER_VERSION-windows-x64" +rm $env:SONAR_SCANNER_HOME -Force -Recurse -ErrorAction SilentlyContinue +New-Item -path $env:SONAR_SCANNER_HOME -type directory +(New-Object System.Net.WebClient).DownloadFile("https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$env:SONAR_SCANNER_VERSION-windows-x64.zip", "$env:SONAR_DIRECTORY/sonar-scanner.zip") +Add-Type -AssemblyName System.IO.Compression.FileSystem +[System.IO.Compression.ZipFile]::ExtractToDirectory("$env:SONAR_DIRECTORY/sonar-scanner.zip", "$env:SONAR_DIRECTORY") +rm ./.sonar/sonar-scanner.zip -Force -ErrorAction SilentlyContinue +$env:Path += ";$env:SONAR_SCANNER_HOME/bin" +$env:SONAR_SCANNER_OPTS="-server" +" +`; + +exports[`can choose build tools and copy provided settings: Dart windows: execute scanner 1`] = `"sonar-scanner.bat -D"sonar.projectKey=my-project" -D"sonar.sources=." -D"sonar.host.url=http://localhost:9000""`; + exports[`can choose build tools and copy provided settings: c++ (automatic) and other linux arm64: download scanner 1`] = ` -"export SONAR_SCANNER_VERSION=6.1.0.4477 +"export SONAR_SCANNER_VERSION=6.2.0.4584 export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux-aarch64 curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux-aarch64.zip unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/ @@ -69,7 +69,7 @@ exports[`can choose build tools and copy provided settings: c++ (automatic) and `; exports[`can choose build tools and copy provided settings: c++ (automatic) and other linux: download scanner 1`] = ` -"export SONAR_SCANNER_VERSION=6.1.0.4477 +"export SONAR_SCANNER_VERSION=6.2.0.4584 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/ @@ -86,7 +86,7 @@ exports[`can choose build tools and copy provided settings: c++ (automatic) and `; exports[`can choose build tools and copy provided settings: c++ (automatic) and other linux: execute scanner 2`] = ` -"export SONAR_SCANNER_VERSION=6.1.0.4477 +"export SONAR_SCANNER_VERSION=6.2.0.4584 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/ @@ -103,7 +103,7 @@ exports[`can choose build tools and copy provided settings: c++ (automatic) and `; exports[`can choose build tools and copy provided settings: c++ (automatic) and other macos: execute scanner 2`] = ` -"export SONAR_SCANNER_VERSION=6.1.0.4477 +"export SONAR_SCANNER_VERSION=6.2.0.4584 export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-macosx-x64 curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-macosx-x64.zip unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/ @@ -115,7 +115,7 @@ export SONAR_SCANNER_OPTS="-server" exports[`can choose build tools and copy provided settings: c++ (automatic) and other windows: execute scanner 1`] = `"sonar-scanner.bat -D"sonar.projectKey=my-project" -D"sonar.sources=." -D"sonar.host.url=http://localhost:9000""`; exports[`can choose build tools and copy provided settings: c++ (automatic) and other windows: execute scanner 2`] = ` -"$env:SONAR_SCANNER_VERSION = "6.1.0.4477" +"$env:SONAR_SCANNER_VERSION = "6.2.0.4584" $env:SONAR_DIRECTORY = [System.IO.Path]::Combine($(get-location).Path,".sonar") $env:SONAR_SCANNER_HOME = "$env:SONAR_DIRECTORY/sonar-scanner-$env:SONAR_SCANNER_VERSION-windows-x64" rm $env:SONAR_SCANNER_HOME -Force -Recurse -ErrorAction SilentlyContinue @@ -137,7 +137,7 @@ export PATH=$HOME/.sonar/build-wrapper-linux-aarch64:$PATH `; exports[`can choose build tools and copy provided settings: c++ (manual) linux arm64: download scanner 1`] = ` -"export SONAR_SCANNER_VERSION=6.1.0.4477 +"export SONAR_SCANNER_VERSION=6.2.0.4584 export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux-aarch64 curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux-aarch64.zip unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/ @@ -164,7 +164,7 @@ export PATH=$HOME/.sonar/build-wrapper-linux-x86:$PATH `; exports[`can choose build tools and copy provided settings: c++ (manual) linux: download scanner 1`] = ` -"export SONAR_SCANNER_VERSION=6.1.0.4477 +"export SONAR_SCANNER_VERSION=6.2.0.4584 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/ @@ -191,7 +191,7 @@ export PATH=$HOME/.sonar/build-wrapper-macosx-x86:$PATH `; exports[`can choose build tools and copy provided settings: c++ (manual) macos: download scanner 1`] = ` -"export SONAR_SCANNER_VERSION=6.1.0.4477 +"export SONAR_SCANNER_VERSION=6.2.0.4584 export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-macosx-x64 curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-macosx-x64.zip unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/ @@ -222,7 +222,7 @@ $env:Path += ";$env:SONAR_DIRECTORY/build-wrapper-win-x86" `; exports[`can choose build tools and copy provided settings: c++ (manual) windows: download scanner 1`] = ` -"$env:SONAR_SCANNER_VERSION = "6.1.0.4477" +"$env:SONAR_SCANNER_VERSION = "6.2.0.4584" $env:SONAR_DIRECTORY = [System.IO.Path]::Combine($(get-location).Path,".sonar") $env:SONAR_SCANNER_HOME = "$env:SONAR_DIRECTORY/sonar-scanner-$env:SONAR_SCANNER_VERSION-windows-x64" rm $env:SONAR_SCANNER_HOME -Force -Recurse -ErrorAction SilentlyContinue @@ -284,7 +284,7 @@ export PATH=$HOME/.sonar/build-wrapper-linux-aarch64:$PATH `; exports[`can choose build tools and copy provided settings: objective-c linux arm64: download scanner 1`] = ` -"export SONAR_SCANNER_VERSION=6.1.0.4477 +"export SONAR_SCANNER_VERSION=6.2.0.4584 export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux-aarch64 curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux-aarch64.zip unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/ @@ -311,7 +311,7 @@ export PATH=$HOME/.sonar/build-wrapper-linux-x86:$PATH `; exports[`can choose build tools and copy provided settings: objective-c linux: download scanner 1`] = ` -"export SONAR_SCANNER_VERSION=6.1.0.4477 +"export SONAR_SCANNER_VERSION=6.2.0.4584 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/ @@ -338,7 +338,7 @@ export PATH=$HOME/.sonar/build-wrapper-macosx-x86:$PATH `; exports[`can choose build tools and copy provided settings: objective-c macos: download scanner 1`] = ` -"export SONAR_SCANNER_VERSION=6.1.0.4477 +"export SONAR_SCANNER_VERSION=6.2.0.4584 export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-macosx-x64 curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-macosx-x64.zip unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/ @@ -369,7 +369,7 @@ $env:Path += ";$env:SONAR_DIRECTORY/build-wrapper-win-x86" `; exports[`can choose build tools and copy provided settings: objective-c windows: download scanner 1`] = ` -"$env:SONAR_SCANNER_VERSION = "6.1.0.4477" +"$env:SONAR_SCANNER_VERSION = "6.2.0.4584" $env:SONAR_DIRECTORY = [System.IO.Path]::Combine($(get-location).Path,".sonar") $env:SONAR_SCANNER_HOME = "$env:SONAR_DIRECTORY/sonar-scanner-$env:SONAR_SCANNER_VERSION-windows-x64" rm $env:SONAR_SCANNER_HOME -Force -Recurse -ErrorAction SilentlyContinue diff --git a/server/sonar-web/src/main/js/components/tutorials/utils.ts b/server/sonar-web/src/main/js/components/tutorials/utils.ts index 58c66594bc4..e66b36734d6 100644 --- a/server/sonar-web/src/main/js/components/tutorials/utils.ts +++ b/server/sonar-web/src/main/js/components/tutorials/utils.ts @@ -23,7 +23,7 @@ import { AlmSettingsInstance, ProjectAlmBindingResponse } from '../../types/alm- import { UserToken } from '../../types/token'; import { Arch, AutoConfig, BuildTools, GradleBuildDSL, OSs, TutorialConfig } from './types'; -export const SONAR_SCANNER_CLI_LATEST_VERSION = '6.1.0.4477'; +export const SONAR_SCANNER_CLI_LATEST_VERSION = '6.2.0.4584'; export function quote(os: string): (s: string) => string { return os === 'win' ? (s: string) => `"${s}"` : (s: string) => s;