Commit 1504b1017421047f9d399fa41f8f5c21c4baf601

Authored by George Vlahavas
1 parent 296ef6417b

Add echo

Showing 1 changed file with 1 additions and 0 deletions

kea_testing.groovy View file @ 1504b10
... ... @@ -91,6 +91,7 @@
91 91 testName = "KEA_F009"
92 92 url = "$APP_URL/api/v1/od/start"
93 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)
  94 + echo responseCode
94 95 if (!responseCode.endsWith('200')) {
95 96 error("$testName: Returned status code = $responseCode when calling $url")
96 97 }