문제

I am using Jenkins in Windows, when I build the project I am getting the below error on Ant task 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.

도움이 되었습니까?

해결책

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 ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top