0

使用 maven-dotnet-plugin 我得到了这篇文章末尾显示的错误。

Jenkins 工作区设置在 C:\Jenkins

有谁知道在哪里或如何更改路径名的格式以用于 dotnet 插件,或其他方式来使其工作?

我得到的错误在下面详细显示。

Parsing POMs
ERROR: Failed to parse POMs
java.io.FileNotFoundException: C:\Jenkins\ExternalFrame\au.com.bushlife.dotnet.revit:builder\builds\2012-09-20_17-10-03\log (The filename, directory name, or volume label syntax is incorrect)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at hudson.maven.MavenBuild$ProxyImpl2.<init>(MavenBuild.java:472)
    at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:682)
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
    at hudson.model.Run.execute(Run.java:1502)
    at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)
    at hudson.model.ResourceController.execute(ResourceController.java:88)
    at hudson.model.Executor.run(Executor.java:236)
FATAL: Failed to create a temporary file in C:\Jenkins\ExternalFrame\au.com.bushlife.dotnet.revit:builder\builds\2012-09-20_17-10-03
hudson.util.IOException2: Failed to create a temporary file in C:\Jenkins\ExternalFrame\au.com.bushlife.dotnet.revit:builder\builds\2012-09-20_17-10-03
    at hudson.util.AtomicFileWriter.<init>(AtomicFileWriter.java:67)
    at hudson.util.AtomicFileWriter.<init>(AtomicFileWriter.java:54)
    at hudson.XmlFile.write(XmlFile.java:174)
    at hudson.model.Run.save(Run.java:1638)
    at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:991)
    at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)
    at hudson.model.Run.execute(Run.java:1527)
    at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)
    at hudson.model.ResourceController.execute(ResourceController.java:88)
    at hudson.model.Executor.run(Executor.java:236)
Caused by: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
    at java.io.WinNTFileSystem.createFileExclusively(Native Method)
    at java.io.File.checkAndCreate(Unknown Source)
    at java.io.File.createTempFile(Unknown Source)
    at hudson.util.AtomicFileWriter.<init>(AtomicFileWriter.java:65)
    ... 9 more
4

2 回答 2

1

由于冒号放置在路径字符串中,正在构造的路径是无效路径。这是一个插件错误。

于 2012-10-20T05:09:38.087 回答
0

这可能是您的文件系统的权限问题。看看这个https://groups.google.com/forum/?fromgroups=#!topic/jenkinsci-users/9nux4H8YWe8

于 2012-09-20T08:34:04.483 回答