Skip to content

Commit

Permalink
Sleep when IOException occurs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Artmorse committed Dec 9, 2024
1 parent ec6f4b3 commit 627fda8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ protected Connection connectToSsh(ComputeEngineComputer computer, TaskListener l
Thread.sleep(SSH_SLEEP_MILLIS);
} catch (IOException e) {
logWarning(computer, listener, String.format("An error occured: %s", e.getMessage()));

Check warning on line 443 in src/main/java/com/google/jenkins/plugins/computeengine/ComputeEngineComputerLauncher.java

View check run for this annotation

ci.jenkins.io / Code Coverage

Not covered lines

Lines 161-443 are not covered by tests
Thread.sleep(SSH_SLEEP_MILLIS);
}
}
}
Expand Down

0 comments on commit 627fda8

Please sign in to comment.