I could launch findbugs with ant from within eclipse and from the console, but once it was launched by hudson, I got an error:
BUILD FAILED
/var/lib/hudson/jobs/jpf/workspace/build.xml:30: taskdef class edu.umd.cs.findbugs.anttask.FindBugsTask cannot be found
the ant file was correct but I found out (by googling of course) that the by adding a classpathref entry, I solved the problem.
The taskdef task documentation does not evoke the classpathref tag. It should probably be well known, but I don't use ant on an everyday basis.
No comments:
Post a Comment