Open romanisb opened 1 year ago
Would that update fix #686 ?
I think the underlying issue in #686 and #656 could be fixed with #696. So with a new release of the current state of the main branch and a new docker image version you should be good to go.
Yes, let's definitely update to Jetty 11
I looked into building in the Jetty 10 => 11 polyfill we have in another project, but it does not run well. Jetty is too strictly tied to Jenkins internals. I think the best strategy would be to wait for https://github.com/jenkinsci/winstone/pull/341 from @olamy , and then update straight to Jetty 12
I don't think upgrading to Jetty 11 is possible now. Because Jetty 11 is ee9 (jakarta. namespace) whereas Jetty 10 is ee8 (javax. namespace) This namespace will require some significant changes in Jenkins core itself. (stapler etc...) Jetty 12 with ee8 is a better candidate.
What feature do you want to see added?
This is rather a follow up on a discussion from #696.
Copied from https://github.com/jenkinsci/jenkinsfile-runner/pull/696#issuecomment-1637603013
I've looked into updating to Jetty 11 and straight away the compilation will fail because auf the namespace change from
javax.*
tojakarta.*
:Also I'm not sure if Jetty 11 will somehow work with Jenkins core in the future, but I do not have that much in-depth knowledge in this: https://www.jenkins.io/doc/administration/requirements/servlet-containers/
Tested with https://github.com/romanisb/jenkinsfile-runner/compare/update-jenkins-core-2.375...romanisb:jenkinsfile-runner:jenkins-core-2.387-jetty-11
Upstream changes
https://github.com/romanisb/jenkinsfile-runner/compare/update-jenkins-core-2.375...romanisb:jenkinsfile-runner:jenkins-core-2.387-jetty-11