* hdyra: show last succeeded build and changes since on build status summary if build has failed

[?]
Feb 23, 2010, 1:08 PM
XHK7IGYISKWLHOOM3ZQAVLSRUNS2SV43TTKRX4XLPZZJ4DP3RWYAC

Dependencies

  • [2] KAZWI5G4 * hydra: buildpage, show changes since last build/successful build
  • [3] ZI535LI6 * hydra: 'new' UI for project/jobset/job/build
  • [4] JFZNAYJX * Showing releases.
  • [5] Z6MDQIGO * A quick (non-Web 2.0) interface to manually add builds to a release.
  • [6] TW5ZQX5Z * Move up the build products in the builds page, since they're more
  • [7] CEARA7OH * hydra: show running buildsteps on build page
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.
  • [*] IK53RV4V

Change contents

  • replacement in src/root/build.tt at line 179
    [2.1146][3.210:276](),[3.210][3.210:276]()
    [% INCLUDE renderBuildSteps type="Running" %]
    [2.1146]
    [3.276]
    [% INCLUDE renderBuildSteps type="Running" %]
  • replacement in src/root/build.tt at line 183
    [3.6726][3.6726:6830]()
    [% IF build.buildsteps && (build.resultInfo.buildstatus == 2 || build.resultInfo.buildstatus == 5)%]
    [3.6726]
    [3.289]
    [% IF build.buildsteps && build.resultInfo.buildstatus != 0 %]
  • edit in src/root/build.tt at line 186
    [3.6891]
    [3.56]
    [% IF build.resultInfo.buildstatus != 0 && prevSuccessfulBuild %]
    <h2>Changes</h2>
    <p>
    The previous successful build of this job was [% INCLUDE renderFullBuildLink build=prevSuccessfulBuild %]. The
    following changes were made since:
    </p>
    [% INCLUDE renderInputDiff build2=build , build1=prevSuccessfulBuild %]
    [% END %]
  • edit in src/root/build.tt at line 395
    [3.13658]
    [2.1147]
    <p/>
  • replacement in src/root/build.tt at line 399
    [2.1175][2.1175:1277]()
    <h2>Changes since previous build : [% INCLUDE renderFullBuildLink build=prevBuild %]</h2>
    [2.1175]
    [2.1277]
    <h3>Changes since previous build : [% INCLUDE renderFullBuildLink build=prevBuild %]</h3>
  • edit in src/root/build.tt at line 401
    [2.1351][2.1351:1646]()
    [% END %]
    [% IF prevBuild && prevSuccessfulBuild.id != prevBuild.id %]
    <h2>Changes since previous successful build : [% INCLUDE renderFullBuildLink build=prevSuccessfulBuild %]</h2>
    [% INCLUDE renderInputDiff build2=build , build1=prevSuccessfulBuild %]
  • replacement in src/root/build.tt at line 402
    [2.1664][2.1664:1673]()
    [2.1664]
    [3.13658]
  • replacement in src/root/common.tt at line 201
    [3.14511][3.14511:14633]()
    Job [% INCLUDE renderFullJobNameOfBuild build=build %] <a href="[% c.uri_for('/build' build.id) %]">build [% build.id %]
    [3.14511]
    [3.14633]
    [% INCLUDE renderFullJobNameOfBuild build=build %] <a href="[% c.uri_for('/build' build.id) %]">build [% build.id %]</a>