Closed basil closed 4 months ago
See JENKINS-73283. This hook is a workaround for https://github.com/jenkinsci/plugin-pom/issues/936. If we are about to hit the scenario described in https://github.com/jenkinsci/plugin-pom/issues/936, this hook works around the issue by overriding the version of the servlet API. This is a temporary measure that is intended to be deleted once https://github.com/jenkinsci/plugin-pom/issues/936 is fixed (which cannot take place for several more weeks or months) and once that fix has propagated to all plugins in the managed set.
Tested with the latest weekly core as well as a Jetty 12 EE 9 core. In the latter case, the servlet API was dynamically updated as expected. Tested interactively in BOM in https://github.com/jenkinsci/bom/pull/3314.
See JENKINS-73283. This hook is a workaround for https://github.com/jenkinsci/plugin-pom/issues/936. If we are about to hit the scenario described in https://github.com/jenkinsci/plugin-pom/issues/936, this hook works around the issue by overriding the version of the servlet API. This is a temporary measure that is intended to be deleted once https://github.com/jenkinsci/plugin-pom/issues/936 is fixed (which cannot take place for several more weeks or months) and once that fix has propagated to all plugins in the managed set.
Testing done
Tested with the latest weekly core as well as a Jetty 12 EE 9 core. In the latter case, the servlet API was dynamically updated as expected. Tested interactively in BOM in https://github.com/jenkinsci/bom/pull/3314.