Re: Build-Log in Dashboard
Stefan Pammer <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Hi
I tried your workaround but it didn't manage to get it work. I see the new entry "View log" in the dashboard but the link is incorrect.
So my question is on what you want to link on? On the generated build log files? Somehow I don't have the folder buildresults in
$req.getContextPath()/../cruisecontrol so I linked to CRUISE_HOME/logs/${projectName} but it doesn't work. Maybe because
there are several log files in there...
Maybe you can help me.
Stefan
________________________________
Von: Samuel Bernet <[email protected]>
An: [email protected]
Gesendet: Montag, den 17. August 2009, 17:32:54 Uhr
Betreff: [Cruisecontrol-user] Build-Log in Dashboard
Hi,
I've seen this question raised several times in the mailing list and
other places but never found a definitive answer:
In the dashboard on the build detail tab of a build there is a "build
log" tab with a link to download the build log in raw XML format.
There's no other content on this page (dashboard - NOT the classic
reporting application).
I'd like to see the transformed build log (not the XML) inline on this
tab. Is this possible at all?
Usually the link
http://confluence.public.thoughtworks.org/display/CC/CustomiseJSPReporti
ng comes up as a response, but AFAIK this does not relate to the
dashboard but to the old reporting application only.
What I did for now (but deem unsatisfactory) is adding a "View log" link
to this panel, redirecting to the build results page of the old
reporting application. This is my current content of the
webapps\dashboard\WEB-INF\vm\build_detail\build_detail_partial_log.vm
Template:
<div id="build_log" class="widget" $log_extra_attrs>
<h2>Build Log</h2>
<span class="logfile"><a
href="$req.getContextPath()/tab/build/download/log/$projectName/$logfile
">Download log</a></span>
<p/>
<span class="logfile"><a
href="$req.getContextPath()/../cruisecontrol
/buildresults/${projectName}">View log</a></span>
</div>
Maybe this workaround can help other people, if there's really no
solution to this problem...
My Setup:
CC 2.8.2 on Windows Server 2008 (Standard Edition, SP1, 64-Bit) without
Jetty (Web-Apps running in Tomcat 5.5.17).
Best regards
Samuel Bernet
MSc ETH in Software Engineering
[email protected]
+41 (0)44 883 35 45
K&W Software AG
Rosenbergstrasse 1
8304 Wallisellen
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user