-
Bug
-
Resolution: Not A Defect
-
Major
-
None
-
Jenkins 2.107.3
Hello,
Somehow, SockerServer.accept() is blocking the other parallel thread "queue 1" as well:
parallel queue1: { stage ('queue 1') { println "queue1a" sleep 30 println "queue1b" } }, queue2: { stage ('queue2') { println "queue1" ServerSocket listener = new ServerSocket(4444) // listener.setSoTimeout(30); if (listener.isClosed()) { echo "not open" } else { echo "open" } println "processing new connection... a" Socket socket = listener.accept() // blocking function call println "processing new connection... b" }
Any idea how to overcome?
Thx & BR,
Andreas