From b9f2e96c811968395724f3ed2be04d24ec5a7820 Mon Sep 17 00:00:00 2001 From: George Vlahavas Date: Wed, 8 Sep 2021 21:47:27 +0300 Subject: [PATCH] Remove sleep --- kea_testing.groovy | 1 - 1 file changed, 1 deletion(-) diff --git a/kea_testing.groovy b/kea_testing.groovy index 27d6548..13bd4b9 100644 --- a/kea_testing.groovy +++ b/kea_testing.groovy @@ -28,7 +28,6 @@ pipeline { echo '*** TESTS ***' echo '*************' /* Here do your tests */ - sleep 90 try { // Get Keycloak auth token String token = sh(label: "get_keycloak_token", script: "curl -s -X POST $KEYCLOAK_URL -H 'Content-Type: application/x-www-form-urlencoded' -d 'username=$USER' -d 'password=$PASSWORD' -d 'grant_type=password' -d 'client_id=$CLIENT_ID' | sed 's/.*access_token\":\"//g' | sed 's/\".*//g'", returnStdout: true) -- 2.2.2