Re: Build-Log in Dashboard
Nicolas Melo <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
I've had this question too. Unfortunately, I only have another
somewhat unsatisfactory work-around. CC has a (now) deprecated API to
build a widget for the Dashboard. This info is hard to find as
they've pulled the page from the site, however, because I found no
other satisfactory solution, I implemented a widget (which is very
easy and serves the exact purpose). As a starting point - you can
still hit the page directly:
http://cruisecontrol.sourceforge.net/widgets.html
I'm really curious what the new supported way of creating widgets is?
Is there one?
-nick
On Aug 17, 2009, at 8:32 AM, Samuel Bernet wrote:
> 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