From ca3122a928b81e6f56804a743931b83d95655958 Mon Sep 17 00:00:00 2001 From: Neda Moeini <neda.moeini@geant.org> Date: Thu, 26 Oct 2023 12:08:13 +0200 Subject: [PATCH] Updated Sonarqube in pipeline. --- .gitlab-ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 417a8f87..7e762c52 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ stages: - tox - documentation - + - sonarqube include: - docs/.gitlab-ci.yml @@ -16,6 +16,7 @@ run-tox-pipeline: services: - postgres:15.4 + # Change pip's cache directory to be inside the project directory since we can # only cache local items. variables: @@ -47,9 +48,8 @@ run-tox-pipeline: paths: - htmlcov - sonarqube-analysis: - image: sonarsource/sonar-scanner-cli - script: - - sonar-scanner - only: - - develop +sonarqube: + stage: sonarqube + image: sonarsource/sonar-scanner-cli + script: + - sonar-scanner -- GitLab