Commit d852a28bfa322343dee2024cd0a7f6181cd4b5c1
1 parent
6ab7eb8adb
Exists in
master
and in
2 other branches
Process ID is not quoted in MLTD
Showing 1 changed file with 1 additions and 1 deletions
kea_testing.groovy
View file @
d852a28
... | ... | @@ -124,7 +124,7 @@ |
124 | 124 | if (!responseCode.endsWith('200')) { |
125 | 125 | error("$testName: Returned status code = $responseCode when calling $url") |
126 | 126 | } |
127 | - processId = responseCode.split(",")[1].split(":")[1].split('"')[1]; | |
127 | + processId = responseCode.split(",")[1].split(":")[1]; | |
128 | 128 | url = "$APP_URL/api/v1/mltd/status" |
129 | 129 | 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) |
130 | 130 | echo responseCode |