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 (backport) (#903)
  • Loading branch information
Vlatombe authored Jan 22, 2025
1 parent b892828 commit 8e44578
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 @@ -942,7 +942,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 8e44578

Please sign in to comment.