Skip to content

Commit

Permalink
[JENKINS-75174] Allow webapp context configuration to be discovered v…
Browse files Browse the repository at this point in the history
…ia Servlet 3.0 discovery (#899)
  • Loading branch information
Vlatombe authored Jan 22, 2025
1 parent 14df77c commit ad3a58a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/jvnet/hudson/test/JenkinsRule.java
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ protected ClassLoader configureClassLoader(ClassLoader loader) {
}
};
context.setClassLoader(classLoader);
context.setConfigurations(new Configuration[]{new WebXmlConfiguration()});
context.setConfigurationDiscovered(true);
context.addBean(new NoListenerConfiguration2(context));
context.setServer(server);
String compression = System.getProperty("jth.compression", "gzip");
Expand Down

0 comments on commit ad3a58a

Please sign in to comment.