更改工作区文件夹后的詹金斯权限错误

时间:2018-08-25 09:45:58

标签: jenkins continuous-integration

我正在尝试在项目中使用Jenkins设置CI

已完成的步骤

1)将工作空间目录更改为自定义文件夹/var/jenkins-test/${ITEM_FULLNAME}

2)源代码管理中正确的回购URL

但是Jenkins构建后出现以下错误

java.io.IOException: Failed to mkdirs: /var/jenkins-test/node-express
    at hudson.FilePath.mkdirs(FilePath.java:1170)
    at hudson.model.AbstractProject.checkout(AbstractProject.java:1200)
    at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
    at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
    at hudson.model.Run.execute(Run.java:1724)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    at hudson.model.ResourceController.execute(ResourceController.java:97)
    at hudson.model.Executor.run(Executor.java:421)
Finished: FAILURE

0 个答案:

没有答案