From dde5325991c88027647930930822659d50350388 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=83=C2=A1s=20Agust=C3=83=C2=ADn=20San=20Mart=C3=83?= =?UTF-8?q?=C2=ADn=20Palmieri?= <nicolas.san.martin@fing.edu.uy> Date: Fri, 17 Sep 2021 00:36:34 -0300 Subject: [PATCH] Add .gitlab-ci.yml --- .gitlab-ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..11edfb8 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,17 @@ +variables: + 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 +sonarcloud-check: + image: + name: sonarsource/sonar-scanner-cli:latest + entrypoint: [""] + cache: + key: "${CI_JOB_NAME}" + paths: + - .sonar/cache + script: + - sonar-scanner + only: + - merge_requests + - master + - develop \ No newline at end of file -- GitLab