我們使用Hudson CI作爲我們的構建工具,當我們在相同的服務器計算機中引用Hudson運行時的文件系統時,沒有任何問題。Hudson文件SCM插件
但是,當我們使用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)
您可以發佈您在作業配置的「源代碼管理」和「構建觸發器」部分中設置的值嗎? –
構建觸發器POLL SCM:*/30 * * * *,源代碼管理:FileSystemPath:\\ remoteserver \ d $ \ source \ – user684434