diff --git a/README.md b/README.md index ba58a2cf5d8453c75dd26cf992e2740e4d6e581c..f06de2ddb833e2e87881c5706e1da01b1d66e869 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ In order to include this template in your project, add the following to your `gi ```yaml include: - project: 'to-be-continuous/sonar' - ref: '1.3.2' + ref: '2.0.0' file: '/templates/gitlab-ci-sonar.yml' ``` diff --git a/templates/gitlab-ci-sonar.yml b/templates/gitlab-ci-sonar.yml index 4d5d5cf99807ea3dddebfa6c84aa80fac42bc934..4b55a20c76465d394603e5b6bbfa41e94f9184bd 100644 --- a/templates/gitlab-ci-sonar.yml +++ b/templates/gitlab-ci-sonar.yml @@ -278,7 +278,7 @@ stages: fi } - if [[ "$TEMPLATE_CHECK_UPDATE_DISABLED" != "true" ]]; then check_for_update sonar "1.3.2"; fi + if [[ "$TEMPLATE_CHECK_UPDATE_DISABLED" != "true" ]]; then check_for_update sonar "2.0.0"; fi unscope_variables # ENDSCRIPT @@ -291,7 +291,7 @@ sonar: entrypoint: [""] services: - name: "$CI_REGISTRY/to-be-continuous/tools/tracking:master" - command: ["--service", "sonar", "1.3.2" ] + command: ["--service", "sonar", "2.0.0" ] variables: # Tells git to fetch all the branches of the project, required by the analysis task # see: https://docs.sonarqube.org/8.5/analysis/gitlab-cicd/#header-2