Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent PluginServletFilter warnings when running JFR as a standalone JAR #294

Merged

Conversation

oleg-nenashev
Copy link
Member

Some Jenkins core and plugin servlet filter initialization routines assume that PluginServletFilter is always present within the system. And this is definitely correct for classic Jenkins, but for JFR it was leading to startup warnings and stacktraces.

This patch merely adds PluginServletFilter to the virtual Jetty engine. It has almost no overhead, and such trick is easier than changing behavior of the Jenkins core

Fixes #193

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Jenkins Telemetry prints warnings on JFR startup
1 participant