From b8d0016592ada49bf09951cafa16b8bad03d68d0 Mon Sep 17 00:00:00 2001 From: Fontrodona Nicolas <nicolas.fontrodona@ens-lyon.fr> Date: Mon, 16 Nov 2020 09:33:59 +0100 Subject: [PATCH] moving artifacts in sonarqube-check --- .gitlab-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1a61ec3..9ff8849 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,9 +19,7 @@ tests: script: - coverage run -m unittest discover - coverage xml - artifacts: - reports: - junit: coverage.xml + sonarqube-check: image: @@ -32,6 +30,9 @@ sonarqube-check: SONAR_HOST_URL: http://192.168.1.58:9000/ # You have to not use localhost otherwise it will not work SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache GIT_DEPTH: "0" # Tells git to fetch all the branches of the project, required by the analysis task + artifacts: + reports: + junit: coverage.xml cache: key: "${CI_JOB_NAME}" paths: -- GitLab