diff options
author | Mauro Sardara <msardara@cisco.com> | 2022-08-12 15:21:00 +0200 |
---|---|---|
committer | Mauro Sardara <msardara@cisco.com> | 2022-08-12 15:21:32 +0200 |
commit | d2a94ecce09a1d1c761ae6f5c1181ebf9e80f84b (patch) | |
tree | 46326f6ea8a3ab348942d55e0dda8057084fceac /scripts/run-sonar.sh | |
parent | 8743186ac085d843eab249887c09ebee8d7a1646 (diff) |
ci(sonarqube): force job to fail if any command fails
Ref: HICN-741
Change-Id: Ib789432e5419d70188836f5391997067e2e9e8c3
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Diffstat (limited to 'scripts/run-sonar.sh')
-rwxr-xr-x | scripts/run-sonar.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 |