Integration with External Tools like SONAR, PMD
As JUnit is integrated in the build process, Could I include tools like open source SONAR, PMD to check the source code? What are the minimum conditions to include a tool within the build process?
|
2 answers
You can run any tool in your build. If that tool has a log file, you can
publish that log to the build result with the logPublisher ant task. This log will show up on the build result Logs page in the UI. If you want to draw attention to the log as a failure (and fail the build), you can specify the attribute status="ERROR" (you can use WARNING as well). https://jazz.net/jazzdocs/topic/com.ibm.team.build.doc/topics/r_logpublisher.html If you want a richer UI for your tool's contribution to the build, and you want to write java code, you can contribute a page in the build result editor in eclipse. With this option, you publish your tool output as a hidden file contribution. Then, your UI page will interpret the output and display a rich UI. If you want to go this route, let me know and I will provide more details. --- Ryan Manwiller Jazz Team |
You can run any tool in your build... Thank you very much Ryan for this answer. I have the same question with WID (Websphere Integration Developer) which provides built script since 6.1.2. It should work in the same way... |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.