-
Notifications
You must be signed in to change notification settings - Fork 381
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-67466] Add timeout to JGit remote operations
Uses the JGit timeout implementation to prevent JGit operations from hanging indefinitely. The JGit timeout implementation has a very different behavior than the timeout implementation for command line git. The command line git implementation stops once the timeout has expired. The JGit timeout implementation stops after timeout period has completed with no traffic during the timeout period. See JENKINS-22400 for examples of other operations which still need timeout support. This does not add timeout support to JGit checkout because JGit checkout does not provide a timeout API.
- Loading branch information
1 parent
236b0bf
commit 4c0b546
Showing
8 changed files
with
201 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.