The Open Anzo Project

Semantic Application Middleware

Ticket #20 (closed enhancement: fixed)

Opened 1 year ago

Last modified 1 year ago

add svn revision number to cruise control

Reported by: jpbetz Assigned to: jpbetz
Priority: trivial Milestone:
Component: openanzo-maven Version:
Keywords: cruise subversion revision Cc:

Description

Cruise control's log already keeps track of lots of stuff it never displays...

~cruise/logs/<project-name>/log<date-time>.xml:

!#xml
<cruisecontrol>
...
    <modification type="svn">
      ...
      <revision>423</revision>
      ...
    </modification>
...

since there's already a revision number, and the first one is always the latest, it's just a simple matter of updating the cruise control xslt to get this displayed:

/usr/share/cruisecontrol/webapps/cruisecontrol/xsl/header.xsl:

            <tr>
                <th>Last log entry:</th>
                <td><xsl:value-of select="comment"/></td>
            </tr>
            <tr>
                <th>SVN Revision:</th>
                <td>r<xsl:value-of select="revision"/></td>
           </tr>

Change History

10/02/07 20:39:26 changed by jpbetz

  • status changed from new to closed.
  • resolution set to fixed.
Copyright © 2007 - 2008 OpenAnzo.org