]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-23199 Update Bitbucket Pipelines tutorial
authorJulien HENRY <julien.henry@sonarsource.com>
Fri, 4 Oct 2024 08:25:23 +0000 (10:25 +0200)
committersonartech <sonartech@sonarsource.com>
Fri, 4 Oct 2024 20:03:46 +0000 (20:03 +0000)
server/sonar-web/src/main/js/components/tutorials/bitbucket-pipelines/__tests__/__snapshots__/BitbucketPipelinesTutorial-it.tsx.snap
server/sonar-web/src/main/js/components/tutorials/bitbucket-pipelines/commands/Others.ts

index baad88f88710ddc86b0d2ef68e24f84dfac7ecbf..f4549f870878b222ceb9b4a6d1322caf8fdd87d4 100644 (file)
@@ -30,14 +30,13 @@ pipelines:
 `;
 
 exports[`should follow and complete all steps: C++ (automatic) and other: .github/workflows/build.yml 1`] = `
-"image: maven:3.3.9
-
+"
 definitions:
   steps:
     - step: &build-step
         name: SonarQube analysis
         script:
-          - pipe: sonarsource/sonarqube-scan:2.0.1
+          - pipe: sonarsource/sonarqube-scan:3.0.2
             variables:
               SONAR_HOST_URL: \${SONAR_HOST_URL} # Get the value from the repository/workspace variable.
               SONAR_TOKEN: \${SONAR_TOKEN} # Get the value from the repository/workspace variable. You shouldn't set secret in clear text here.
@@ -59,14 +58,13 @@ pipelines:
 `;
 
 exports[`should follow and complete all steps: C++ (automatic) and other: bitbucket-pipelines.yml 1`] = `
-"image: maven:3.3.9
-
+"
 definitions:
   steps:
     - step: &build-step
         name: SonarQube analysis
         script:
-          - pipe: sonarsource/sonarqube-scan:2.0.1
+          - pipe: sonarsource/sonarqube-scan:3.0.2
             variables:
               SONAR_HOST_URL: \${SONAR_HOST_URL} # Get the value from the repository/workspace variable.
               SONAR_TOKEN: \${SONAR_TOKEN} # Get the value from the repository/workspace variable. You shouldn't set secret in clear text here.
index 94c145180f76efef2d0adda8d1fa9df40cccabc7..a20417061ffd266b7e3e43c694001217e44182d3 100644 (file)
 import { BuildToolExampleBuilder } from '../AnalysisCommand';
 
 const othersExample: BuildToolExampleBuilder = ({ branchesEnabled, mainBranchName }) => {
-  return `image: maven:3.3.9
-
+  return `
 definitions:
   steps:
     - step: &build-step
         name: SonarQube analysis
         script:
-          - pipe: sonarsource/sonarqube-scan:2.0.1
+          - pipe: sonarsource/sonarqube-scan:3.0.2
             variables:
               SONAR_HOST_URL: \${SONAR_HOST_URL} # Get the value from the repository/workspace variable.
               SONAR_TOKEN: \${SONAR_TOKEN} # Get the value from the repository/workspace variable. You shouldn't set secret in clear text here.