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

Unable to run Code Health Report

Hi,

When attempting to run the Code Health report, the Team Area, Build Definition & Component parameters are blank (non to select from). I have no issues running a Build Health report where values are displayed in the Team Area and once I select a team, a choice is presented for the Build Definition parameter. Could someone tell me how I can get the team areas to show up when running a Code Health report.

Thanks in advanced,
Thaddee

0 votes



14 answers

Permanent link
Hi James,

Please see answers to your questions below.

Thanks,
Thaddee

Do you have JUnit tests configured?

Yes

Are they contibuted to a build result in the normal way?

Yes

Does your build compile Java code?

Yes (code compilation results are embedded in the RTC build log)

Is it configured in the typical way or do you have a custom build setup?

Typical way

0 votes


Permanent link

Thaddee,

The Code Health reports presents SCM data stored in our data warehouse.
Because this data can be expensive to collect, we don't collect it by
default. To turn on data collection for one or more of your streams:
1. Go to the Reports Web UI, as a user with JazzAdmin or JazzDWAdmin
permissions.
2. Click on the "Administer SCM Snapshot" link in the lower left.
3. Check the checkbox beside any stream for which you'd like data collected.
4. Either wait overnight for the snapshot to run automatically, or
manually run the snapshots using the "Administer Data Warehouse" link.
5. Run the report again; it should have data now.

james
RTC Reports Team Lead


Thanks James,

We followed the steps provided above two days ago and we are still not able to select a Team Area, Build Definition & Component parameters (still blank) when running the Code Health report. We are unable to run the report without selecting these parameters. Please let me know if there is anything else we can check to see why this is happening.

Thanks,
Thaddee

Okay, so this may instead be related to the way your builds are set up. Code Health actually has two charts in it. One presents information gathered during JUnit execution of a build. Do you have JUnit tests configured? Are they contibuted to a build result in the normal way? The other displays code warnings from Java compilation. Does your build compile Java code? Is it configured in the typical way or do you have a custom build setup?

james

0 votes


Permanent link

Thaddee,

The Code Health reports presents SCM data stored in our data warehouse.
Because this data can be expensive to collect, we don't collect it by
default. To turn on data collection for one or more of your streams:
1. Go to the Reports Web UI, as a user with JazzAdmin or JazzDWAdmin
permissions.
2. Click on the "Administer SCM Snapshot" link in the lower left.
3. Check the checkbox beside any stream for which you'd like data collected.
4. Either wait overnight for the snapshot to run automatically, or
manually run the snapshots using the "Administer Data Warehouse" link.
5. Run the report again; it should have data now.

james
RTC Reports Team Lead


Thanks James,

We followed the steps provided above two days ago and we are still not able to select a Team Area, Build Definition & Component parameters (still blank) when running the Code Health report. We are unable to run the report without selecting these parameters. Please let me know if there is anything else we can check to see why this is happening.

Thanks,
Thaddee

0 votes


Permanent link
On 4/15/2010 10:23 AM, tbourque wrote:
Hi,

When attempting to run the Code Health report, the Team Area, Build
Definition& Component parameters are blank (non to select from).
I have no issues running a Build Health report where values are
displayed in the Team Area and once I select a team, a choice is
presented for the Build Definition parameter. Could someone tell me
how I can get the team areas to show up when running a Code Health
report.

Thanks in advanced,
Thaddee


Thaddee,

The Code Health reports presents SCM data stored in our data warehouse.
Because this data can be expensive to collect, we don't collect it by
default. To turn on data collection for one or more of your streams:
1. Go to the Reports Web UI, as a user with JazzAdmin or JazzDWAdmin
permissions.
2. Click on the "Administer SCM Snapshot" link in the lower left.
3. Check the checkbox beside any stream for which you'd like data collected.
4. Either wait overnight for the snapshot to run automatically, or
manually run the snapshots using the "Administer Data Warehouse" link.
5. Run the report again; it should have data now.

james
RTC Reports Team Lead

0 votes

1–15 items
page 2of 1 pagesof 2 pages

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

Question asked: Apr 15 '10, 10:08 a.m.

Question was seen: 21,969 times

Last updated: Apr 15 '10, 10:08 a.m.

Confirmation Cancel Confirm