It's all about the answers!

Ask a question

Information on running Static Analysis during builds?


Chris Kau (12) | asked Oct 30 '07, 8:20 a.m.
edited Jan 21 '13, 2:59 p.m. by Ralph Schoon (63.1k33646)
We would like to add running Static Analysis as part of our server-side builds. We did look on jazz.net and on the Jazz wiki but couldn't find information on how to do this.

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



permanent link
Lauren Hayward Schaefer (3.3k11727) | answered Jan 21 '13, 7:25 a.m.
JAZZ DEVELOPER
Hi Chris,
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
Ralph Schoon commented Jan 21 '13, 10:20 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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.


Lauren Hayward Schaefer commented Jan 21 '13, 1:09 p.m. | edited Jan 21 '13, 1:09 p.m.
JAZZ DEVELOPER

Thanks for the info Ralph!


Sterling Ferguson-II commented Jan 21 '13, 1:26 p.m.

Ralph,


Are you saying that the two articles are referring to features that are not in the tool or available to users? If so, can these articles be removed? 

I am looking at this article for a client:

and the below paragraph points to a location and object needed to get started, but we don't know where this lies:

To be able to view coverage reports on the Jazz client, you need to install the  JazzCodeCoverage-IXXXXXXXX-XXXX.zip  download available from the Jazz Project Incubators list.


Ralph Schoon commented Jan 21 '13, 2:58 p.m. | edited Jan 21 '13, 3:01 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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


Ralph Schoon commented Jan 21 '13, 3:06 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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-).

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.