一、Windows环境更改Jenkins的主目录
Windows环境中,Jenkins主目录默认在C:UsersASUS.jenkins
可以通过设置环境变量来修改,如下所示
然后重新启动jenkins。