提交 8071d076 编写于 作者: S Stephen Connolly

Add a fluent interface for specifying a plugin manager

上级 c3eb8670
......@@ -491,6 +491,11 @@ public class JenkinsRule implements TestRule, RootAction {
throw new IllegalStateException("Too late to override the plugin manager");
}
public JenkinsRule with(PluginManager pluginManager) {
setPluginManager(pluginManager);
return this;
}
public File getWebAppRoot() throws Exception {
return WarExploder.getExplodedDir();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册