sous-chefs / jenkins

Development repository for the jenkins cookbook
https://supermarket.chef.io/cookbooks/jenkins
Apache License 2.0
424 stars 636 forks source link

from 2.375 Remove unused --ajp13Port, --ajp13ListenAddress, --handlerCountMax, and --handlerCountMaxIdle options #792

Open sayi65 opened 1 year ago

sayi65 commented 1 year ago

:speaking_head: Foreword

https://www.jenkins.io/changelog/ 

What's new in 2.375 (2022-10-25)
Align the default value of the HTTP keep-alive timeout in Winstone with that of the upstream Jetty project by changing it from 5 seconds to 30 seconds. Remove unused --ajp13Port, --ajp13ListenAddress, --handlerCountMax, and --handlerCountMaxIdle options. (issue 69509, Align HTTP keep-alive with Jetty default)

:person_frowning: Problem Statement

remove unused --ajp13Port, --ajp13ListenAddress, --handlerCountMax, and --handlerCountMaxIdle options from jenkins2.375. If these options are present, jenkins will not be started. Is there a better way?

I am currently using Recipie here, but I am not sure how to resolve the following differences.

-JENKINS_ARGS="--webroot=/var/cache/jenkins/war --httpListenAddress=$HTTP_LISTEN_ADDRESS --httpPort=$HTTP_PORT"
+JENKINS_ARGS="--webroot=/var/cache/jenkins/war --httpListenAddress=$HTTP_LISTEN_ADDRESS --httpPort=$HTTP_PORT --ajp13Port=$AJP_PORT"

:grey_question: Possible Solution