From 06133189bc6ecafd0c5a9bc74b8c08b9c097a321 Mon Sep 17 00:00:00 2001 From: Matthias Bisping Date: Thu, 24 Mar 2022 14:49:03 +0100 Subject: [PATCH] fixed syntax error in sconarscan --- bamboo-specs/src/main/resources/scripts/sonar-scan.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bamboo-specs/src/main/resources/scripts/sonar-scan.sh b/bamboo-specs/src/main/resources/scripts/sonar-scan.sh index 2e247d4..f8716e2 100755 --- a/bamboo-specs/src/main/resources/scripts/sonar-scan.sh +++ b/bamboo-specs/src/main/resources/scripts/sonar-scan.sh @@ -23,7 +23,7 @@ sleep 30 bash run_tests.sh -if [! -f reports/coverage.xml ] +if [ ! -f reports/coverage.xml ] then exit 1 fi