diff --git a/keycloak_test.groovy b/keycloak_test.groovy index dbdf478..4a9e5b2 100644 --- a/keycloak_test.groovy +++ b/keycloak_test.groovy @@ -106,6 +106,9 @@ pipeline { if ( responseCode != '401' ) { error("$testName: Returned status code = $responseCode when calling $url") } + } catch (ignored) { + currentBuild.result = 'FAILURE' + echo "KEA Keycloak Tests failed" } } }