From 97a173952b6a82b83f4a5924efe4ba6ac113cc52 Mon Sep 17 00:00:00 2001 From: ffeldmann Date: Tue, 7 Sep 2021 11:27:14 +0200 Subject: [PATCH] Fixes time bug as sleep takes seconds and not miliseconds leading to a wait time of 50 minutes (#3087) --- src/com/sap/piper/Utils.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/sap/piper/Utils.groovy b/src/com/sap/piper/Utils.groovy index aa9a3bbdc61..59c9ef4cd65 100644 --- a/src/com/sap/piper/Utils.groovy +++ b/src/com/sap/piper/Utils.groovy @@ -87,7 +87,7 @@ def unstash(name, msg = "Unstash failed:") { } catch (e) { echo "$msg $name (${e.getMessage()})" if (e.getMessage().contains("JNLP4-connect")) { - sleep(3000) // Wait 3 seconds in case it has been a network hiccup + sleep(3) // Wait 3 seconds in case it has been a network hiccup try { echo "[Retry JNLP4-connect issue] Unstashing content: ${name}" steps.unstash name