Information on running Static Analysis during builds?
Could someone from the Jazz team please share some pointers on how to enable Static Analysis as part of builds?
Thanks a million,
--chris
One answer
I'm hoping you've found a solution since you posted this question! In case others find this post and are looking for an answer, https://jazz.net/library/LearnItem.jsp?href=content/docs/static-analysis/build-server-setup.html and https://jazz.net/library/LearnItem.jsp?href=content/docs/static-analysis/index.html have information on how to integrate static analysis into builds.
Comments
Hi Lauren,
as far as I know https://jazz.net/library/LearnItem.jsp?href=content/docs/static-analysis/build-server-setup.html and https://jazz.net/library/LearnItem.jsp?href=content/docs/static-analysis/index.html show an extension to RTC to display the analysis data in a build result.I believe that was an incubator that did not make it into the tool.
As far as I can tell, you would have to upload the result data to the build to make it accessible. If the data is HTML based you could use this approach: https://jazz.net/library/article/797 .
In general you would add analysis tools in the builds and publish the result data to the build using the standard ANT tasks.
Thanks for the info Ralph!
Ralph,
JazzCodeCoverage-IXXXXXXXX-XXXX.zip
download available from the Jazz Project Incubators list.
Sterling,
these articles where valid back then, and for a very old version of the tool, the incubator might still be available. You have to - for some extend - look at when things where published and which version this applies to. Since then, we have started to always fill in the the version number. The article is from 2007 where we only had a beta for version 1.0. If you want to, you can still get the incubator. You can download it from here: https://jazz.net/downloads/rational-team-concert/releases/1.0?p=allDownloads
But since that is 1.0 and the incubator never made into the product - you should not need it otherwise - that does not help with 3.x or 4.x.
Does that render the article invalid? I don't think so. I will tag this however so that the Jazz.net team can have a look at it. Maybe we need to add some information to the old articles. (We did it for the most popular for 3.x last summer and created updates for 4.0).
It is a valid question if these a
And article https://jazz.net/library/article/34 falls into the same category. (The link did not work due to a space appended at first). You can get the incubator using the link above. But it never made it into the project. The article is very old. Pre 1.0 see the low number alone.
However, the same statement about using an external tool for it in the build and uploading the results still apply. See https://jazz.net/library/article/797 as an interesting approach you can take, please I put a lot of effort in that and the related article. It also works for 3.x and beyond 8-).