From 55eb4d31c3d3cedbcaa280c7e1311c0dada2b8ac Mon Sep 17 00:00:00 2001 From: Maxime Besson Date: Wed, 12 May 2021 20:26:24 +0200 Subject: [PATCH] Fix sonar job (#2528) --- .gitlab-ci.yml | 2 +- scripts/sonar | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 442e3a798..a058209de 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -131,7 +131,7 @@ sonar-upload: stage: deploy image: sonarsource/sonar-scanner-cli script: - - sonar-scanner + - /usr/bin/entrypoint.sh only: variables: - $SONARJOB == "1" diff --git a/scripts/sonar b/scripts/sonar index fdc87edac..3fa01155a 100755 --- a/scripts/sonar +++ b/scripts/sonar @@ -1,5 +1,6 @@ #!/bin/sh +apt update mk-build-deps --install --remove \ --tool "apt-get -o Debug::pkgProblemResolver=yes -q -y" \ debian/control