mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-10 18:46:41 +00:00
[JENKINS-32765] Fix failing tests
This commit is contained in:
1 parent
bdb3c0c6d5
commit
566def3bd6
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user