From bd1b4e77fe5da93d15ef8f5b946ffda761526409 Mon Sep 17 00:00:00 2001 From: Lukasz Jarocki Date: Tue, 7 Mar 2023 10:51:03 +0100 Subject: [PATCH] NO-JIRA updated tutorial to use latest Scanner Gradle --- .../__snapshots__/BitbucketPipelinesTutorial-it.tsx.snap | 2 +- .../__snapshots__/GithubActionTutorial-it.tsx.snap | 2 +- .../__tests__/__snapshots__/GitLabCITutorial-it.tsx.snap | 2 +- .../__tests__/__snapshots__/JenkinsTutorial-it.tsx.snap | 8 ++++---- .../__tests__/__snapshots__/OtherTutorial-it.tsx.snap | 2 +- server/sonar-web/src/main/js/helpers/constants.ts | 2 +- 6 files changed, 9 insertions(+), 9 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 ee7000676dd..fc048678545 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: Gradle: build.gradle 1`] = ` "plugins { - id "org.sonarqube" version "3.5.0.2730" + id "org.sonarqube" version "4.0.0.2929" } 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 98f9cf959a1..e7a91a7df94 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 @@ -231,7 +231,7 @@ jobs: exports[`should follow and complete all steps: Gradle: build.gradle 1`] = ` "plugins { - id "org.sonarqube" version "3.5.0.2730" + id "org.sonarqube" version "4.0.0.2929" } 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 7768ee78fe6..13f3630f4ed 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 @@ -65,7 +65,7 @@ sonar.qualitygate.wait=true exports[`should follow and complete all steps: Gradle: build.gradle 1`] = ` "plugins { - id "org.sonarqube" version "3.5.0.2730" + id "org.sonarqube" version "4.0.0.2929" } 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 f4f14802daf..12650e20ff1 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: build.gradle file 1`] = ` "plugins { - id "org.sonarqube" version "3.5.0.2730" + id "org.sonarqube" version "4.0.0.2929" } sonar { @@ -196,7 +196,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: build.gradle file 1`] = ` "plugins { - id "org.sonarqube" version "3.5.0.2730" + id "org.sonarqube" version "4.0.0.2929" } sonar { @@ -390,7 +390,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: build.gradle file 1`] = ` "plugins { - id "org.sonarqube" version "3.5.0.2730" + id "org.sonarqube" version "4.0.0.2929" } sonar { @@ -584,7 +584,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: build.gradle file 1`] = ` "plugins { - id "org.sonarqube" version "3.5.0.2730" + id "org.sonarqube" version "4.0.0.2929" } 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 eb2ecbd5bde..402d7e7f541 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 "3.5.0.2730" + id "org.sonarqube" version "4.0.0.2929" }" `; diff --git a/server/sonar-web/src/main/js/helpers/constants.ts b/server/sonar-web/src/main/js/helpers/constants.ts index c74a9b6d899..2c7957083cd 100644 --- a/server/sonar-web/src/main/js/helpers/constants.ts +++ b/server/sonar-web/src/main/js/helpers/constants.ts @@ -74,4 +74,4 @@ export const IMPORT_COMPATIBLE_ALMS = [ AlmKeys.GitLab, ]; -export const GRADLE_SCANNER_VERSION = '3.5.0.2730'; +export const GRADLE_SCANNER_VERSION = '4.0.0.2929'; -- 2.39.5