From f38aa08e84a3762fef0e114badb4235f06def4a1 Mon Sep 17 00:00:00 2001 From: Dorian Burihabwa Date: Wed, 20 Nov 2024 10:31:58 +0100 Subject: [PATCH] SONAR-23672 Update project onboarding tutorials to use Gradle scanner 6.0.0.5145 --- .../BitbucketPipelinesTutorial-it.tsx.snap | 4 ++-- .../GithubActionTutorial-it.tsx.snap | 4 ++-- .../__snapshots__/GitLabCITutorial-it.tsx.snap | 4 ++-- .../__snapshots__/JenkinsTutorial-it.tsx.snap | 16 ++++++++-------- .../__snapshots__/OtherTutorial-it.tsx.snap | 2 +- .../sonar-web/src/main/js/helpers/constants.ts | 2 +- 6 files changed, 16 insertions(+), 16 deletions(-) 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 797e6fd2b08..1fb4d7e4948 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 @@ -294,7 +294,7 @@ pipelines: exports[`should follow and complete all steps: Groovy: build.gradle 1`] = ` "plugins { - id "org.sonarqube" version "5.1.0.4882" + id "org.sonarqube" version "6.0.0.5145" } sonar { @@ -307,7 +307,7 @@ sonar { exports[`should follow and complete all steps: Kotlin: build.gradle.kts 1`] = ` "plugins { - id("org.sonarqube") version "5.1.0.4882" + id("org.sonarqube") version "6.0.0.5145" } sonar { diff --git a/server/sonar-web/src/main/js/components/tutorials/github-action/__tests__/__snapshots__/GithubActionTutorial-it.tsx.snap b/server/sonar-web/src/main/js/components/tutorials/github-action/__tests__/__snapshots__/GithubActionTutorial-it.tsx.snap index e3cd4f02c53..872f4474ff9 100644 --- a/server/sonar-web/src/main/js/components/tutorials/github-action/__tests__/__snapshots__/GithubActionTutorial-it.tsx.snap +++ b/server/sonar-web/src/main/js/components/tutorials/github-action/__tests__/__snapshots__/GithubActionTutorial-it.tsx.snap @@ -341,7 +341,7 @@ jobs: exports[`should follow and complete all steps: Groovy: build.gradle 1`] = ` "plugins { - id "org.sonarqube" version "5.1.0.4882" + id "org.sonarqube" version "6.0.0.5145" } sonar { @@ -354,7 +354,7 @@ sonar { exports[`should follow and complete all steps: Kotlin: build.gradle.kts 1`] = ` "plugins { - id("org.sonarqube") version "5.1.0.4882" + id("org.sonarqube") version "6.0.0.5145" } sonar { 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 607a8fbc50b..494cfdf0955 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 @@ -293,7 +293,7 @@ sonarqube-vulnerability-report: exports[`should follow and complete all steps: Groovy: build.gradle 1`] = ` "plugins { - id "org.sonarqube" version "5.1.0.4882" + id "org.sonarqube" version "6.0.0.5145" } sonar { @@ -307,7 +307,7 @@ sonar { exports[`should follow and complete all steps: Kotlin: build.gradle.kts 1`] = ` "plugins { - id ("org.sonarqube") version "5.1.0.4882" + id ("org.sonarqube") version "6.0.0.5145" } sonar { diff --git a/server/sonar-web/src/main/js/components/tutorials/jenkins/__tests__/__snapshots__/JenkinsTutorial-it.tsx.snap b/server/sonar-web/src/main/js/components/tutorials/jenkins/__tests__/__snapshots__/JenkinsTutorial-it.tsx.snap index 74d7b2154b4..ea8bf8e1c8d 100644 --- a/server/sonar-web/src/main/js/components/tutorials/jenkins/__tests__/__snapshots__/JenkinsTutorial-it.tsx.snap +++ b/server/sonar-web/src/main/js/components/tutorials/jenkins/__tests__/__snapshots__/JenkinsTutorial-it.tsx.snap @@ -18,7 +18,7 @@ exports[`bitbucket: can select devops platform and complete all the steps with c exports[`bitbucket: can select devops platform and complete all the steps with copying code snippets: Groovy: build.gradle file 1`] = ` "plugins { - id "org.sonarqube" version "5.1.0.4882" + id "org.sonarqube" version "6.0.0.5145" } sonar { @@ -31,7 +31,7 @@ sonar { exports[`bitbucket: can select devops platform and complete all the steps with copying code snippets: Kotlin: build.gradle.kts file 1`] = ` "plugins { - id("org.sonarqube") version "5.1.0.4882" + id("org.sonarqube") version "6.0.0.5145" } sonar { @@ -383,7 +383,7 @@ exports[`bitbucketcloud: can select devops platform and complete all the steps w exports[`bitbucketcloud: can select devops platform and complete all the steps with copying code snippets: Groovy: build.gradle file 1`] = ` "plugins { - id "org.sonarqube" version "5.1.0.4882" + id "org.sonarqube" version "6.0.0.5145" } sonar { @@ -396,7 +396,7 @@ sonar { exports[`bitbucketcloud: can select devops platform and complete all the steps with copying code snippets: Kotlin: build.gradle.kts file 1`] = ` "plugins { - id("org.sonarqube") version "5.1.0.4882" + id("org.sonarqube") version "6.0.0.5145" } sonar { @@ -748,7 +748,7 @@ exports[`github: can select devops platform and complete all the steps with copy exports[`github: can select devops platform and complete all the steps with copying code snippets: Groovy: build.gradle file 1`] = ` "plugins { - id "org.sonarqube" version "5.1.0.4882" + id "org.sonarqube" version "6.0.0.5145" } sonar { @@ -761,7 +761,7 @@ sonar { exports[`github: can select devops platform and complete all the steps with copying code snippets: Kotlin: build.gradle.kts file 1`] = ` "plugins { - id("org.sonarqube") version "5.1.0.4882" + id("org.sonarqube") version "6.0.0.5145" } sonar { @@ -1113,7 +1113,7 @@ exports[`gitlab: can select devops platform and complete all the steps with copy exports[`gitlab: can select devops platform and complete all the steps with copying code snippets: Groovy: build.gradle file 1`] = ` "plugins { - id "org.sonarqube" version "5.1.0.4882" + id "org.sonarqube" version "6.0.0.5145" } sonar { @@ -1126,7 +1126,7 @@ sonar { exports[`gitlab: can select devops platform and complete all the steps with copying code snippets: Kotlin: build.gradle.kts file 1`] = ` "plugins { - id("org.sonarqube") version "5.1.0.4882" + id("org.sonarqube") version "6.0.0.5145" } sonar { 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 6f4879b342b..0157e93719d 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 @@ -252,7 +252,7 @@ exports[`can choose build tools and copy provided settings: gradle: execute scan exports[`can choose build tools and copy provided settings: gradle: sonarqube plugin 1`] = ` "plugins { - id "org.sonarqube" version "5.1.0.4882" + id "org.sonarqube" version "6.0.0.5145" }" `; diff --git a/server/sonar-web/src/main/js/helpers/constants.ts b/server/sonar-web/src/main/js/helpers/constants.ts index aa702fc32e7..1caa9eba578 100644 --- a/server/sonar-web/src/main/js/helpers/constants.ts +++ b/server/sonar-web/src/main/js/helpers/constants.ts @@ -281,6 +281,6 @@ export const IMPORT_COMPATIBLE_ALMS = [ AlmKeys.GitLab, ]; -export const GRADLE_SCANNER_VERSION = '5.1.0.4882'; +export const GRADLE_SCANNER_VERSION = '6.0.0.5145'; export const ONE_SECOND = 1000; -- 2.39.5