diff --git a/kea_testing.groovy b/kea_testing.groovy index a43276b..fd6eb92 100644 --- a/kea_testing.groovy +++ b/kea_testing.groovy @@ -84,9 +84,9 @@ pipeline { url = "https://kea-kibana.vlahavas.com/app/kibana" responseCode = sh(label: testName, script: "curl -m 10 -sLI -w '%{http_code}' -H 'Authorization: Bearer $token' -H 'Accept: application/json, text/plain, */*' $url -o /dev/null", returnStdout: true) echo responseCode - //if (responseCode != '200') { - // error("$testName: Returned status code = $responseCode when calling $url") - //} + if (responseCode != '200') { + error("$testName: Returned status code = $responseCode when calling $url") + } testName = "KEA_F008" url = "$APP_URL/components/ceptd"