Surprisingly, there are few resources that cover this topic.


jenkins.xmlNote: Changing the home folder requires a restart and re-setup.
jenkins.xml file in the Jenkins installation folder.env name="JENKINS_HOME" tag by entering the desired folder path for the home directory in the value attribute.

By following the above steps, the default workspace will be located in the folder: “Home Folder/workspace/Job Name”.
Note: The workspace path is technically determined by the workspaceDir setting in Jenkins’ config.xml for the Jenkins user.
