未验证 提交 ee47034c 编写于 作者: S Stephen Connolly 提交者: GitHub

Switch to the non-deprecated variable

JENKINS-12251 deprecated `ITEM_FULLNAME` in favour of `ITEM_FULL_NAME`.. for new installs we should default to the correct variable
上级 27f0abd4
......@@ -846,7 +846,7 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
if (!new File(root,"jobs").exists()) {
// if this is a fresh install, use more modern default layout that's consistent with agents
workspaceDir = "${JENKINS_HOME}/workspace/${ITEM_FULLNAME}";
workspaceDir = "${JENKINS_HOME}/workspace/${ITEM_FULL_NAME}";
}
// doing this early allows InitStrategy to set environment upfront
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册