`;
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.
`;
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.
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.