Commit 9e372b60c87465e2a41e0ce2a81fd0cd54c79676

Authored by George Vlahavas
1 parent 7f2cc895fc

Remove -I switch from curl call

Showing 1 changed file with 1 additions and 1 deletions

kea_integration.groovy View file @ 9e372b6
... ... @@ -41,7 +41,7 @@
41 41 }
42 42 String processId = responseCode.split(",")[1].split(":")[1].split('"')[1];
43 43 url = "$APP_URL/api/v1/od/analyze/$processId"
44   - responseCode = sh(label: testName, script: "curl -m 10 -sLI -w '%{http_code}' -H 'Authorization: Bearer $token' -F file=@pcap-data/big.pcap $url -o /dev/null", returnStdout: true)
  44 + responseCode = sh(label: testName, script: "curl -m 10 -sL -w '%{http_code}' -H 'Authorization: Bearer $token' -F file=@pcap-data/big.pcap $url -o /dev/null", returnStdout: true)
45 45 echo responseCode
46 46 if (responseCode != '200') {
47 47 error("$testName: Returned status code = $responseCode when calling $url")