-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins 2.249.1 (aka LTS)
Parameterized-Remote-Trigger plugin 3.1.4
Debian 9 docker image from upstream
When configuring a job or a pipeline through JobDSL or Jenkinsfile the default value for maxConn isn't 1 as per documentation but 0 which causes remote triggers to time out twice - which gives a 60 seconds delay before the remote build is actually triggered.
When configuring the job in the GUI the default is 1.
Also JobDSL doesn't support setting maxConn so you need to use a configure block for that.
There's a PR to fix this issue: https://github.com/jenkinsci/parameterized-remote-trigger-plugin/pull/75
krakan
Can't reproduce what you mentioned, I started a 2.249.1 Jenkins and generated the snippet with default configuration. As you can see,
the max conn was shown on the snippet which is configurable.
And the job finished in seconds.
The output was like
Not to mention the code snippet in the repo, which is totally configurable and works fine.