From d2a94ecce09a1d1c761ae6f5c1181ebf9e80f84b Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Fri, 12 Aug 2022 15:21:00 +0200 Subject: ci(sonarqube): force job to fail if any command fails Ref: HICN-741 Change-Id: Ib789432e5419d70188836f5391997067e2e9e8c3 Signed-off-by: Mauro Sardara --- scripts/run-sonar.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/run-sonar.sh') diff --git a/scripts/run-sonar.sh b/scripts/run-sonar.sh index 383d03273..7bb179d05 100755 --- a/scripts/run-sonar.sh +++ b/scripts/run-sonar.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -euxo pipefail + # SONAR_HOST_URL=https://sonarcloud.io # PROJECT_KEY=fdio-hicn # PROJECT_ORGANIZATION=fdio -- cgit 1.2.3-korg