[JENKINS-32765] Fix failing tests

This commit is contained in:
Stephen Connolly committed 2016-02-04 17:12:10 +00:00
1 parent bdb3c0c6d5
commit 566def3bd6
1 file changed
+1 -1
+1 -1
View File
@@ -207,7 +207,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
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);