From 0d2fa17838ba71b2250f1b1660a72c7ec2cd14da Mon Sep 17 00:00:00 2001 From: Carmine Vassallo Date: Thu, 2 Nov 2023 14:49:52 +0100 Subject: [PATCH] SONAR-20586 Upgrade Scanner for Gradle to 4.4.1.3373 --- build.gradle | 2 +- .../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 +- 7 files changed, 17 insertions(+), 17 deletions(-) diff --git a/build.gradle b/build.gradle index 19f33369ed8..d1e2ca9068b 100644 --- a/build.gradle +++ b/build.gradle @@ -14,7 +14,7 @@ plugins { id "de.undercouch.download" version "5.5.0" apply false id 'io.spring.dependency-management' version '1.1.3' id "org.cyclonedx.bom" version "1.7.4" apply false - id 'org.sonarqube' version '4.3.1.3277' + id 'org.sonarqube' version '4.4.1.3373' } if (!JavaVersion.current().isCompatibleWith(VERSION_17)) { 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 efae878db07..27bfa07dcbc 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 @@ -97,7 +97,7 @@ pipelines: exports[`should follow and complete all steps: Groovy: build.gradle 1`] = ` "plugins { - id "org.sonarqube" version "4.3.1.3277" + id "org.sonarqube" version "4.4.1.3373" } sonar { @@ -110,7 +110,7 @@ sonar { exports[`should follow and complete all steps: Kotlin: build.gradle.kts 1`] = ` "plugins { - id("org.sonarqube") version "4.3.1.3277" + id("org.sonarqube") version "4.4.1.3373" } 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 0d4632cdeec..4c49554ebe5 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 @@ -234,7 +234,7 @@ jobs: exports[`should follow and complete all steps: Groovy: build.gradle 1`] = ` "plugins { - id "org.sonarqube" version "4.3.1.3277" + id "org.sonarqube" version "4.4.1.3373" } sonar { @@ -247,7 +247,7 @@ sonar { exports[`should follow and complete all steps: Kotlin: build.gradle.kts 1`] = ` "plugins { - id("org.sonarqube") version "4.3.1.3277" + id("org.sonarqube") version "4.4.1.3373" } 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 55d57848a20..d650eaa67d8 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 @@ -93,7 +93,7 @@ sonarqube-vulnerability-report: exports[`should follow and complete all steps: Groovy: build.gradle 1`] = ` "plugins { - id "org.sonarqube" version "4.3.1.3277" + id "org.sonarqube" version "4.4.1.3373" } sonar { @@ -107,7 +107,7 @@ sonar { exports[`should follow and complete all steps: Kotlin: build.gradle.kts 1`] = ` "plugins { - id ("org.sonarqube") version "4.3.1.3277" + id ("org.sonarqube") version "4.4.1.3373" } 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 381e5a7529f..f4d904bf734 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 @@ -2,7 +2,7 @@ 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 "4.3.1.3277" + id "org.sonarqube" version "4.4.1.3373" } sonar { @@ -15,7 +15,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 "4.3.1.3277" + id("org.sonarqube") version "4.4.1.3373" } sonar { @@ -209,7 +209,7 @@ exports[`bitbucket: can select devops platform and complete all the steps with c 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 "4.3.1.3277" + id "org.sonarqube" version "4.4.1.3373" } sonar { @@ -222,7 +222,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 "4.3.1.3277" + id("org.sonarqube") version "4.4.1.3373" } sonar { @@ -416,7 +416,7 @@ exports[`bitbucketcloud: can select devops platform and complete all the steps w 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 "4.3.1.3277" + id "org.sonarqube" version "4.4.1.3373" } sonar { @@ -429,7 +429,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 "4.3.1.3277" + id("org.sonarqube") version "4.4.1.3373" } sonar { @@ -623,7 +623,7 @@ exports[`github: 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 "4.3.1.3277" + id "org.sonarqube" version "4.4.1.3373" } sonar { @@ -636,7 +636,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 "4.3.1.3277" + id("org.sonarqube") version "4.4.1.3373" } 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 54721435bb5..732d268b1ae 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 @@ -84,7 +84,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 "4.3.1.3277" + id "org.sonarqube" version "4.4.1.3373" }" `; diff --git a/server/sonar-web/src/main/js/helpers/constants.ts b/server/sonar-web/src/main/js/helpers/constants.ts index 4f974fccf3c..b1d98632e55 100644 --- a/server/sonar-web/src/main/js/helpers/constants.ts +++ b/server/sonar-web/src/main/js/helpers/constants.ts @@ -98,6 +98,6 @@ export const IMPORT_COMPATIBLE_ALMS = [ AlmKeys.GitLab, ]; -export const GRADLE_SCANNER_VERSION = '4.3.1.3277'; +export const GRADLE_SCANNER_VERSION = '4.4.1.3373'; export const ONE_SECOND = 1000; -- 2.39.5