diff --git a/src/main/java/org/jenkinsci/plugins/tsuru/pipeline/TsuruAction.java b/src/main/java/org/jenkinsci/plugins/tsuru/pipeline/TsuruAction.java index 9b62f20..3342685 100644 --- a/src/main/java/org/jenkinsci/plugins/tsuru/pipeline/TsuruAction.java +++ b/src/main/java/org/jenkinsci/plugins/tsuru/pipeline/TsuruAction.java @@ -265,7 +265,7 @@ protected Execution run() throws Exception { getListener().getLogger().println("[app-deploy] No deployment was found!"); break; } - Thread.sleep(5000 + (counter + 500)); + Thread.sleep(5000 + (counter * 500)); counter++; } while (counter < 20); } else {