我们使用Hudson CI作为我们的构建工具,当我们引用运行Hudson的同一台服务器机器中的文件系统时,没有问题。
但是当我们使用File SCM插件指向远程机器上所有读写权限的文件系统时,它无法检出并失败,错误如下。
FATAL: Parameter 'directory' is not a directory
java.lang.IllegalArgumentException: Parameter 'directory' is not a directory
at org.apache.commons.io.FileUtils.listFiles(FileUtils.java:358)
at org.apache.commons.io.FileUtils.iterateFiles(FileUtils.java:404)
at hudson.plugins.filesystem_scm.FolderDiff.getNewOrModifiedFiles(FolderDiff.java:104)
at hudson.plugins.filesystem_scm.RemoteFolderDiff$CheckOut.invoke(RemoteFolderDiff.java:94)
at hudson.plugins.filesystem_scm.RemoteFolderDiff$CheckOut.invoke(RemoteFolderDiff.java:88)
at hudson.FilePath.act(FilePath.java:758)
at hudson.FilePath.act(FilePath.java:740)
at hudson.plugins.filesystem_scm.FSSCM.checkout(FSSCM.java:123)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1483)
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:507)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:424)
at hudson.model.Run.run(Run.java:1366)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
发布于 2012-08-29 02:23:37
根据你的配置,我能想到几件事--请注意,我不是Windows专家。
你的
发布于 2012-08-30 00:17:05
在我使用用户id运行Hudson服务之后,我解决了这个问题,该用户id可以访问远程服务器位置。
https://stackoverflow.com/questions/12164067
复制相似问题