From 3c475c029319c7bef3e44845b9a35f34b81b6668 Mon Sep 17 00:00:00 2001 From: George Vlahavas Date: Wed, 8 Sep 2021 22:28:02 +0300 Subject: [PATCH] Get grafana dashboard home --- kea_testing.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kea_testing.groovy b/kea_testing.groovy index 86c215a..4cdeccd 100644 --- a/kea_testing.groovy +++ b/kea_testing.groovy @@ -82,7 +82,7 @@ pipeline { } testName = "KEA_F006" - url = "https://kea-grafana.vlahavas.com/?orgId=1" + url = "https://kea-grafana.vlahavas.com/api/dashboards/home" 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") -- 2.2.2