diff --git a/kea_testing.groovy b/kea_testing.groovy index 13bd4b9..d636d2f 100644 --- a/kea_testing.groovy +++ b/kea_testing.groovy @@ -67,27 +67,28 @@ pipeline { error("$testName: Returned status code = $responseCode when calling $url") } - testName = "KEA_F006" - url = "https://kea-grafana.vlahavas.com" + testName = "KEA_F007" + 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) if (responseCode != '200') { error("$testName: Returned status code = $responseCode when calling $url") } - testName = "KEA_F007" - url = "https://kea-kibana.vlahavas.com/app/kibana" + testName = "KEA_F008" + url = "$APP_URL/components/ceptd" 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) if (responseCode != '200') { error("$testName: Returned status code = $responseCode when calling $url") } - testName = "KEA_F008" - url = "$APP_URL/components/ceptd" + testName = "KEA_F006" + url = "https://kea-grafana.vlahavas.com/?orgId=1" 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) if (responseCode != '200') { error("$testName: Returned status code = $responseCode when calling $url") } + } catch (ignored) { currentBuild.result = 'FAILURE' echo "KEA Deployment Tests failed"