Skip to content

Commit

Permalink
Fixes time bug as sleep takes seconds and not miliseconds leading to …
Browse files Browse the repository at this point in the history
…a wait time of 50 minutes (SAP#3087)
  • Loading branch information
ffeldmann committed Sep 7, 2021
1 parent 8912480 commit 97a1739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/sap/piper/Utils.groovy
Expand Up @@ -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
Expand Down

0 comments on commit 97a1739

Please sign in to comment.