Commit 7ebc5964e2ee10284e54a903b90f126cd148e8df
1 parent
1504b10174
Exists in
master
and in
2 other branches
Don't fetch only headers
Showing 1 changed file with 1 additions and 1 deletions
kea_testing.groovy
View file @
7ebc596
... | ... | @@ -90,7 +90,7 @@ |
90 | 90 | |
91 | 91 | testName = "KEA_F009" |
92 | 92 | url = "$APP_URL/api/v1/od/start" |
93 | - responseCode = sh(label: testName, script: "curl -m 10 -sLI -w '%{http_code}' -H 'Authorization: Bearer $token' -H 'Accept: application/json, text/plain, */*' $url", returnStdout: true) | |
93 | + responseCode = sh(label: testName, script: "curl -m 10 -sL -w '%{http_code}' -H 'Authorization: Bearer $token' -H 'Accept: application/json, text/plain, */*' $url", returnStdout: true) | |
94 | 94 | echo responseCode |
95 | 95 | if (!responseCode.endsWith('200')) { |
96 | 96 | error("$testName: Returned status code = $responseCode when calling $url") |