aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorLukasz Jarocki <lukasz.jarocki@sonarsource.com>2023-03-07 10:51:03 +0100
committersonartech <sonartech@sonarsource.com>2023-03-08 20:03:04 +0000
commitbd1b4e77fe5da93d15ef8f5b946ffda761526409 (patch)
tree7877c90e0bbc72091022eda3bf52fe1229505b36 /server/sonar-web
parentfade3151895d6c553798d14e4b697caf8e78f622 (diff)
downloadsonarqube-bd1b4e77fe5da93d15ef8f5b946ffda761526409.tar.gz
sonarqube-bd1b4e77fe5da93d15ef8f5b946ffda761526409.zip
NO-JIRA updated tutorial to use latest Scanner Gradle
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/js/components/tutorials/bitbucket-pipelines/__tests__/__snapshots__/BitbucketPipelinesTutorial-it.tsx.snap2
-rw-r--r--server/sonar-web/src/main/js/components/tutorials/github-action/__tests__/__snapshots__/GithubActionTutorial-it.tsx.snap2
-rw-r--r--server/sonar-web/src/main/js/components/tutorials/gitlabci/__tests__/__snapshots__/GitLabCITutorial-it.tsx.snap2
-rw-r--r--server/sonar-web/src/main/js/components/tutorials/jenkins/__tests__/__snapshots__/JenkinsTutorial-it.tsx.snap8
-rw-r--r--server/sonar-web/src/main/js/components/tutorials/other/__tests__/__snapshots__/OtherTutorial-it.tsx.snap2
-rw-r--r--server/sonar-web/src/main/js/helpers/constants.ts2
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';