未验证 提交 619c2e3b 编写于 作者: O Oleg Nenashev 提交者: GitHub

Merge pull request #4303 from daniel-beck/log-jenkins-home

Use actual logger to record Jenkins home and where it was found
......@@ -130,7 +130,7 @@ public class WebAppMain implements ServletContextListener {
final FileAndDescription describedHomeDir = getHomeDir(event);
home = describedHomeDir.file.getAbsoluteFile();
home.mkdirs();
System.out.println("Jenkins home directory: "+home+" found at: "+describedHomeDir.description);
LOGGER.info("Jenkins home directory: "+ home +" found at: " + describedHomeDir.description);
// check that home exists (as mkdirs could have failed silently), otherwise throw a meaningful error
if (!home.exists())
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册