Details
-
Bug
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
Description
Xvnc plugin creates a new allocator for each build, and forgets previously allocated ports and tries to allocate them again.
Xvnc plugin creates a new allocator for each build, and forgets previously allocated ports and tries to allocate them again.
Code changed in jenkins
User: Levon Saldamli
Path:
src/main/java/hudson/plugins/xvnc/DisplayAllocator.java
src/main/java/hudson/plugins/xvnc/Xvnc.java
src/test/java/hudson/plugins/xvnc/DisplayAllocatorTest.java
http://jenkins-ci.org/commit/xvnc-plugin/6bdd6098c1d5f2a5aeb52fd05fa2f82d85782f96
Log:
Fix issue
JENKINS-17550, make DisplayAllocator singleton so it can keep track of allocated displays. Also fixesJENKINS-17280.