Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Information on running Static Analysis during builds?

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

0 votes



One answer

Permanent link
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.

0 votes

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,


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.

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

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 1,700
× 562

Question asked: Oct 30 '07, 8:20 a.m.

Question was seen: 7,211 times

Last updated: Jan 21 '13, 3:06 p.m.

Confirmation Cancel Confirm