我已经使用msi文件将jenkins-1.594安装到我的Windows 7 64位机器上。它使用Java 1.6和Maven从SVN构建我的代码。当我第一次运行构建时,我遇到异常并且构建失败。
Started by user anonymous
Building in workspace D:\workspace
java.io.IOException: The filename, directory name, or volume label syntax is incorrect
at java.io.WinNTFileSystem.canonicalize0(Native Method)
at java.io.Win32FileSystem.canonicalize(Unknown Source)
at java.io.File.getCanonicalPath(Unknown Source)
at java.io.File.getCanonicalFile(Unknown Source)
at hudson.scm.subversion.UpdateUpdater$TaskImpl.getSvnCommandToUse(UpdateUpdater.java:79)
at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:130)
at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:161)
at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:1004)
at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:985)
at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:961)
at hudson.FilePath.act(FilePath.java:981)
at hudson.FilePath.act(FilePath.java:959)
at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:910)
at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:845)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1265)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528)
at hudson.model.Run.execute(Run.java:1759)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)
Finished: FAILURE
答案 0 :(得分:-1)
这可能是驱动器权限的问题。您是否可以手动在驱动器上创建文件?尝试在其他驱动器上安装Jenkins(如果有的话)!!