Skip to content
Browse files

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
  • Loading branch information
stephenc committed Nov 2, 2017
1 parent 27f0abd commit ee47034c9646d4c0dff31dd34727823165c22343
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/main/java/jenkins/model/
@@ -846,7 +846,7 @@ protected Jenkins(File root, ServletContext context, PluginManager pluginManager

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

0 comments on commit ee47034

Please sign in to comment.
You can’t perform that action at this time.