[英]Jenkins pdepend plugin error
I am using Jenkins in Windows, when I build the project I am getting the below error on Ant task pdepend. 我在Windows中使用Jenkins,当我构建项目时,我在Ant任务pdepend上收到以下错误。
pdepend:
[exec] Can't find the custom report class: --jdepend-chart=C:\Program Files\Jenkins\workspace\Tracking/build/pdepend/dependencies.svg
[exec] Result: 1
PMD is working fine without error and getting graph in Project Dashboard page. PMD工作正常,没有错误,并在Project Dashboard页面中获取图表。
This error means exactly what it says: the file could not be found at that location. 此错误意味着它所说的内容:在该位置找不到该文件。
I would double check your configuration, as the following path from your error message seems wrong: 我会仔细检查您的配置,因为您的错误消息中的以下路径似乎是错误的:
--jdepend-chart=C:\Program Files\Jenkins\workspace\Tracking/build/pdepend/dependencies.svg
Namely the backslashes becoming forward slashes halfway through the path name. 即反斜杠在路径名称的中途变为正斜线。 With the limited information available, that appears to be your problem.
由于信息有限,这似乎是您的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.