diff --git a/kea_testing.groovy b/kea_testing.groovy index e668b54..61e3be4 100644 --- a/kea_testing.groovy +++ b/kea_testing.groovy @@ -90,7 +90,7 @@ pipeline { testName = "KEA_F009" url = "$APP_URL/api/v1/od/start" - 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) + 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) echo responseCode if (!responseCode.endsWith('200')) { error("$testName: Returned status code = $responseCode when calling $url")