It's all about the answers!

Ask a question

jazz buildsystem and reports


Jens Kordowski (3651) | asked Oct 17 '08, 2:08 p.m.
Hi,

I want to use the jazz build engine, but I don't want to use jazz source control (the jazz stream for committing, updating... my code). I am using svn instead.
So I managed to run my own buildscript, but how do I create reports for my buildresults?
I read the online help, but I didn't find a solution for my problem.

5 answers



permanent link
James Moody (3.3k24) | answered Oct 17 '08, 3:38 p.m.
JAZZ DEVELOPER
lobo wrote:
Hi,

I want to use the jazz build engine, but I don't want to use jazz
source control (the jazz stream for committing, updating... my code).
I am using svn instead.
So I managed to run my own buildscript, but how do I create reports
for my buildresults?
I read the online help, but I didn't find a solution for my problem.


Hello,

It depends on what kind of information you want in the reports.

1. General information about all build results, such as whether the
build was successful or not, doesn't depend on whether you use Jazz's
SCM or not. So any reports which use this information should be fine.
For example, in our Build Health report, the second chart (build
duration) should work fine for you. The first chart might require some
modification, because it reports on JUnit test results which probably
aren't stored in your build result in the way we are expecting.

2. If you're looking at the reports we have on compilation results or
junit results, those depend on certain types of build result
contributions to be attached to your build result. So these reports are
unlikely to work as is on your build setup.

So I see a couple of things you could do:

If you care only about very general information about the build (not
including compilation results, junit tests or other detailed stuff) you
could install BIRT and modify the Build Health (or other) report so that
it suits your tastes. Our wiki page here:

https://jazz.net/wiki/bin/view/Main/ReportsCreatingANewReport

talks about the steps of setting up BIRT, using it to edit a report, and
deploying the result.

If you do care about more detailed information that we don't store in
the data warehouse, depending on how ambitious you are, you may want to
consider extending our data warehouse so that it collects the type of
information you're interested in. This would involve writing a plug-in
that contributes extensions to our extension points. There's some
general information about extending the data warehouse here:

https://jazz.net/wiki/bin/view/Main/DataWarehouseExtending

But our build snapshot itself is extensible in a special way so that you
can write code that just knows how to parse build result contributions,
and we'll call you when we see one that you can handle. Then you extract
the information from the build result and store it in the data
warehouse. After all this, of course, you'll need to write (or modify) a
report to use this data.

Hopefully this isn't information overload for you. Please reply here or
open a work item against the Reports component if you have any questions.

james
Jazz Reports Team Lead

permanent link
Jens Kordowski (3651) | answered Oct 17 '08, 5:18 p.m.
The information I can see in the Eclipse Client (Team Concert), like build status (complete...), status trend, log, start time and duration... is fine for me.

So in Eclipse I see those information for 3 builds.
I hit "update all snapshot data" in the Data Warehouse, but I always get the message: "no build results were found". (@ build health, build duration etc.)

permanent link
James Moody (3.3k24) | answered Oct 20 '08, 11:03 a.m.
JAZZ DEVELOPER
lobo wrote:
The information I can see in the Eclipse Client (Team Concert), like
build status (complete...), status trend, log, start time and
duration... is fine for me.

So in Eclipse I see those information for 3 builds.
I hit "update all snapshot data" in the Data Warehouse, but
I always get the message: "no build results were found". (@
build health, build duration etc.)


Are you looking at the dashboard versions of these reports, or the full
report? Because the build health chart plots a line of the number of
JUnit tests, unless there are builds with those contributions the chart
will show the message that you quoted above ("No build results were
found"). These reports would need to be modified in order to work on any
build result (i.e. those which don't have the compilation or junit
contributions that we're looking for).

james

permanent link
Jens Kordowski (3651) | answered Oct 20 '08, 1:47 p.m.
lobo wrote:
The information I can see in the Eclipse Client (Team Concert), like
build status (complete...), status trend, log, start time and
duration... is fine for me.

So in Eclipse I see those information for 3 builds.
I hit "update all snapshot data" in the Data Warehouse, but
I always get the message: "no build results were found". (@
build health, build duration etc.)


Are you looking at the dashboard versions of these reports, or the full
report? Because the build health chart plots a line of the number of
JUnit tests, unless there are builds with those contributions the chart
will show the message that you quoted above ("No build results were
found"). These reports would need to be modified in order to work on any
build result (i.e. those which don't have the compilation or junit
contributions that we're looking for).

james

I haven't thought about the dashboard versions. They are good for me. Thanks a lot.

permanent link
pietro marella (953130) | answered Oct 24 '08, 3:15 a.m.
<"Are you looking at the dashboard versions of these reports, or the full
report? Because the build health chart plots a line of the number of
JUnit tests, unless there are builds with those contributions the chart
will show the message that you quoted above ("No build results were
found"). These reports would need to be modified in order to work on any
build result (i.e. those which don't have the compilation or junit
contributions that we're looking for).">



Can you help me understanding how I should modify the "build health" report in order to have *simply* the build result (ie: compilation result) (not junit contribution)? thanks in advance
*piero

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.