1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly for gradle: branches enabled 1`] = `
5 snippet="sonarqube-check:
6 image: gradle:jre11-slim
8 SONAR_USER_HOME: \\"\${CI_PROJECT_DIR}/.sonar\\" # Defines the location of the analysis task cache
9 GIT_DEPTH: \\"0\\" # Tells git to fetch all the branches of the project, required by the analysis task
11 key: \\"\${CI_JOB_NAME}\\"
14 script: gradle sonarqube
24 exports[`should render correctly for gradle: branches not enabled 1`] = `
26 snippet="sonarqube-check:
27 image: gradle:jre11-slim
29 SONAR_USER_HOME: \\"\${CI_PROJECT_DIR}/.sonar\\" # Defines the location of the analysis task cache
30 GIT_DEPTH: \\"0\\" # Tells git to fetch all the branches of the project, required by the analysis task
32 key: \\"\${CI_JOB_NAME}\\"
35 script: gradle sonarqube
45 exports[`should render correctly for maven: branches enabled 1`] = `
47 snippet="sonarqube-check:
48 image: maven:3.6.3-jdk-11
50 SONAR_USER_HOME: \\"\${CI_PROJECT_DIR}/.sonar\\" # Defines the location of the analysis task cache
51 GIT_DEPTH: \\"0\\" # Tells git to fetch all the branches of the project, required by the analysis task
53 key: \\"\${CI_JOB_NAME}\\"
57 - mvn verify sonar:sonar
67 exports[`should render correctly for maven: branches not enabled 1`] = `
69 snippet="sonarqube-check:
70 image: maven:3.6.3-jdk-11
72 SONAR_USER_HOME: \\"\${CI_PROJECT_DIR}/.sonar\\" # Defines the location of the analysis task cache
73 GIT_DEPTH: \\"0\\" # Tells git to fetch all the branches of the project, required by the analysis task
75 key: \\"\${CI_JOB_NAME}\\"
79 - mvn verify sonar:sonar
89 exports[`should render correctly for other: branches enabled 1`] = `
91 snippet="sonarqube-check:
93 name: sonarsource/sonar-scanner-cli:latest
96 SONAR_USER_HOME: \\"\${CI_PROJECT_DIR}/.sonar\\" # Defines the location of the analysis task cache
97 GIT_DEPTH: \\"0\\" # Tells git to fetch all the branches of the project, required by the analysis task
99 key: \\"\${CI_JOB_NAME}\\"
113 exports[`should render correctly for other: branches not enabled 1`] = `
115 snippet="sonarqube-check:
117 name: sonarsource/sonar-scanner-cli:latest
120 SONAR_USER_HOME: \\"\${CI_PROJECT_DIR}/.sonar\\" # Defines the location of the analysis task cache
121 GIT_DEPTH: \\"0\\" # Tells git to fetch all the branches of the project, required by the analysis task
123 key: \\"\${CI_JOB_NAME}\\"