kubernetes-plugin
kubernetes-plugin copied to clipboard
Prevent deadlock on thread synchronization via CountDownLatch
This PR resolves reported issue JENKINS-72792 by preventing deadlock on thread synchronization via CountDownLatch.
The changes were tested on an instance running various types of pipelines. No negative impact was noticed.
In case a deadlock occurs while executing a withMaven step (case described in the reported issue), a one-minute timeout is visible.