It's all about the answers!

Ask a question

Integration with External Tools like SONAR, PMD


Christophe Tournier (36107) | asked Oct 06 '08, 7:46 a.m.
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



permanent link
Ryan Manwiller (1.3k1) | answered Oct 06 '08, 11:32 a.m.
JAZZ DEVELOPER
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

permanent link
Christophe Tournier (36107) | answered Oct 06 '08, 12:53 p.m.
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


Register or to post 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.