Hudson JDepend 插件不起作用
我正在尝试使用 hudson 为 php 构建一个持续集成环境。 我正在运行一个 shell 脚本,它会生成 phpdepend 输出,可供 jdepend 插件使用。 尽管 xml 文件已准备就绪,但插件会引发异常:
控制台输出:
[JDepend] JDepend plugin is ready
[JDepend] Couldn't generate JDepend file at 'jdepend.xml'java.lang.NullPointerException
在 jdepend-symbol 单击:
Report generation failed: org.apache.maven.reporting.MavenReportException: Failed to generate JDepend report:null
感谢您的所有帮助。 马丁
I am trying to build a continuous integration environment for php using hudson.
I am running a shell script, which generates my phpdepend output, which can be used by the jdepend plugin.
Although the xml-File is ready, the plugin throws an exception:
console output:
[JDepend] JDepend plugin is ready
[JDepend] Couldn't generate JDepend file at 'jdepend.xml'java.lang.NullPointerException
on jdepend-symbol click:
Report generation failed: org.apache.maven.reporting.MavenReportException: Failed to generate JDepend report:null
thanks for all your help.
Martin
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您觉得您发现了此插件的错误(这似乎是这样,因为您收到了
NullPointerException
),请转到 此处 并查看“错误报告”部分以了解如何报告错误。If you feel that you have found a bug with this plugin (which seems like the case because you are getting a
NullPointerException
), go here and look under the 'Bug reporting' section to see how to report the bug.尝试配置路径,而不是文件。
请参阅 Hudson 在使用 Phing 和 Ant 时总是失败。
Try configuring a path, not a file.
See Hudson keeps failing with Phing AND Ant.
我遇到了同样的问题,但我没有输入文件夹路径,而是输入了 xml 文件名,效果很好,如下所示:
/build/logs/jdepend.xml
I had the same issue, but instead of putting the folder path, i put also the xml filename and it worked well, like this :
/build/logs/jdepend.xml