We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e834805 commit 7da6fc3Copy full SHA for 7da6fc3
.github/workflows/zosEndToEndTest.yml
@@ -42,7 +42,11 @@ jobs:
42
43
- name: Check Zena Connection
44
run: |
45
- curl -sSL -H "Authorization: Bearer $SONAR_TOKEN" "https://zena.sonarsource.com/api/v2/analysis/version"
+ status=$(curl -sSL -o /dev/null -w "%{http_code}" -H "Authorization: Bearer $SONAR_TOKEN" "https://zena.sonarsource.com/api/v2/analysis/version")
46
+ if [ "$status" -ne 200 ]; then
47
+ echo "Zena connection failed with status $status"
48
+ exit 1
49
+ fi
50
51
- name: Add SSH informations
52
0 commit comments