From 5742054f4d9234a88d72daeee6cd506e100ac1e4 Mon Sep 17 00:00:00 2001
From: Soeren Peters <peters@irmb.tu-bs.de>
Date: Wed, 4 Nov 2020 16:25:19 +0100
Subject: [PATCH] Adds needs to sonarqube job.

---
 .gitlab-ci.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 43aa59063..28e9ed671 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -441,9 +441,12 @@ gcov_to_elladan:
 # the reports ins this file needs to match the artifacts.
 sonar-scanner:
   stage: deploy
+
   variables:
     SONAR_HOST_URL: "http://finrod.irmb.bau.tu-bs.de/sonarqube"
 
+  needs: ["cppcheck","clang-tidy"]
+
   before_script:
     - cd /tmp
     - apt-get install unzip
-- 
GitLab