Skip to content

Commit

Permalink
[JENKINS-32765] Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenc committed Feb 4, 2016
1 parent bdb3c0c commit 566def3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/PluginManager.java
Expand Up @@ -207,7 +207,7 @@ public PluginManager(ServletContext context, File rootDir) {
if(!rootDir.exists())
rootDir.mkdirs();
String workDir = System.getProperty(PluginManager.class.getName()+".workDir");
if (workDir == null) {
if (workDir == null && context != null) {
workDir = context.getInitParameter(PluginManager.class.getName() + ".workDir");
}
this.workDir = workDir == null ? null : new File(workDir);
Expand Down

0 comments on commit 566def3

Please sign in to comment.