打开:"C:\ProgramData\Jenkins\.jenkins\config.xml"
修改配置项:<workspaceDir>${JENKINS_HOME}/workspace/${ITEM_FULL_NAME}</workspaceDir>
修改完保存,重启Jenkins服务