-
Bug
-
Resolution: Fixed
-
Major
-
- Red Hat Enterprise Linux Server release 7.4 (Maipo)
- Linux jenkinsdeploy 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 13 10:46:25 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
- java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)
- org.jenkins-ci.main:jenkins-war:2.107.3
- rocketchatnotifier 1.2.1
- workflow-step-api 2.15
- credentials 2.1.16
- junit 1.24
- plain-credentials 1.4
- bouncycastle-api 2.16.2
- command-launcher 1.2- Red Hat Enterprise Linux Server release 7.4 (Maipo) - Linux jenkinsdeploy 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 13 10:46:25 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux - java version "1.8.0_161" Java(TM) SE Runtime Environment (build 1.8.0_161-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode) - org.jenkins-ci.main:jenkins-war:2.107.3 - rocketchatnotifier 1.2.1 - workflow-step-api 2.15 - credentials 2.1.16 - junit 1.24 - plain-credentials 1.4 - bouncycastle-api 2.16.2 - command-launcher 1.2
Hi,
I am sending Rocket Chat notifications from two Jenkins multibranch pipeline jobs. The job that gets executed as the first one sends all of its notifications correctly. The second one however fails with error message:
java.lang.IllegalStateException: Invalid use of BasicClientConnManager: connection still allocated. Make sure to release the connection before allocating another one.
...
Please see the stacktrace and pipeline sample code in attachment.
Thank you in advance for the fix.