From 14ed6d2ee79f9a6bc4bad187dc775f7476a05d97 Mon Sep 17 00:00:00 2001 From: Viktor Seifert Date: Tue, 26 Jul 2022 11:08:16 +0200 Subject: [PATCH] RED-4653: Disabled coverage check since there not tests at the moment --- .../src/main/resources/scripts/sonar-scan.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/bamboo-specs/src/main/resources/scripts/sonar-scan.sh b/bamboo-specs/src/main/resources/scripts/sonar-scan.sh index 5b5c248..5ba9ff6 100755 --- a/bamboo-specs/src/main/resources/scripts/sonar-scan.sh +++ b/bamboo-specs/src/main/resources/scripts/sonar-scan.sh @@ -10,13 +10,15 @@ python3 -m pip install dependency-check python3 -m pip install docker-compose python3 -m pip install coverage -echo "coverage report generation" -bash run_tests.sh +# This is disabled since there are currently no tests in this project. +# If tests are added this can be enabled again +# echo "coverage report generation" +# bash run_tests.sh -if [ ! -f reports/coverage.xml ] -then - exit 1 -fi +# if [ ! -f reports/coverage.xml ] +# then +# exit 1 +# fi SERVICE_NAME=$1