From 33cf6f7ad31cf78258f714bb2654efb403a0a203 Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Tue, 24 Sep 2024 15:40:23 +0200 Subject: [PATCH] SONAR-23139 Update Scanner for Gradle to latest release --- .../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 cc2ff6b6926..0bf465301ee 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 @@ -298,7 +298,7 @@ pipelines: exports[`should follow and complete all steps: Groovy: build.gradle 1`] = ` "plugins { - id "org.sonarqube" version "5.0.0.4638" + id "org.sonarqube" version "5.1.0.4882" } sonar { @@ -311,7 +311,7 @@ sonar { exports[`should follow and complete all steps: Kotlin: build.gradle.kts 1`] = ` "plugins { - id("org.sonarqube") version "5.0.0.4638" + id("org.sonarqube") version "5.1.0.4882" } 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 90daec9363a..c9ac2d264a7 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 @@ -342,7 +342,7 @@ jobs: exports[`should follow and complete all steps: Groovy: build.gradle 1`] = ` "plugins { - id "org.sonarqube" version "5.0.0.4638" + id "org.sonarqube" version "5.1.0.4882" } sonar { @@ -355,7 +355,7 @@ sonar { exports[`should follow and complete all steps: Kotlin: build.gradle.kts 1`] = ` "plugins { - id("org.sonarqube") version "5.0.0.4638" + id("org.sonarqube") version "5.1.0.4882" } 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 67757137bb3..837ac1681a8 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.0.0.4638" + id "org.sonarqube" version "5.1.0.4882" } sonar { @@ -307,7 +307,7 @@ sonar { exports[`should follow and complete all steps: Kotlin: build.gradle.kts 1`] = ` "plugins { - id ("org.sonarqube") version "5.0.0.4638" + id ("org.sonarqube") version "5.1.0.4882" } 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 a0688444fe3..74d7b2154b4 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.0.0.4638" + id "org.sonarqube" version "5.1.0.4882" } 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.0.0.4638" + id("org.sonarqube") version "5.1.0.4882" } 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.0.0.4638" + id "org.sonarqube" version "5.1.0.4882" } 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.0.0.4638" + id("org.sonarqube") version "5.1.0.4882" } 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.0.0.4638" + id "org.sonarqube" version "5.1.0.4882" } 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.0.0.4638" + id("org.sonarqube") version "5.1.0.4882" } 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.0.0.4638" + id "org.sonarqube" version "5.1.0.4882" } 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.0.0.4638" + id("org.sonarqube") version "5.1.0.4882" } 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 c82a688c22c..63b38edb9fc 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 @@ -264,7 +264,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.0.0.4638" + id "org.sonarqube" version "5.1.0.4882" }" `; diff --git a/server/sonar-web/src/main/js/helpers/constants.ts b/server/sonar-web/src/main/js/helpers/constants.ts index 2e70556dfaa..682fcab1814 100644 --- a/server/sonar-web/src/main/js/helpers/constants.ts +++ b/server/sonar-web/src/main/js/helpers/constants.ts @@ -258,6 +258,6 @@ export const IMPORT_COMPATIBLE_ALMS = [ AlmKeys.GitLab, ]; -export const GRADLE_SCANNER_VERSION = '5.0.0.4638'; +export const GRADLE_SCANNER_VERSION = '5.1.0.4882'; export const ONE_SECOND = 1000; -- 2.39.5