* hydra: on build page, show tail of log on first tab when buildstatus == 1 (this specific build failed)
[?]
Feb 5, 2010, 8:32 PM
MPVX6MKXTP2NBSSIC77PKETMUDL5JC4PVH6QVIR5SN2AUIMSZUAQCDependencies
- [2]
ZI535LI6* hydra: 'new' UI for project/jobset/job/build - [3]
TW5ZQX5Z* Move up the build products in the builds page, since they're more - [*]
LBNVQXUB* Build the /build stuff in a separate controller. - [*]
HB3OHPJLhydra: in case of cached build, add link to build that built the storepath - [*]
J5UVLXOK* Start of a basic Catalyst web interface.
Change contents
- edit in src/lib/Hydra/Controller/Build.pm at line 46
(my $lastBuildStep) = $build->buildsteps->search({},{order_by => "stepnr", rows => 1});if ($build->resultInfo->buildstatus == 1 && $lastBuildStep && isValidPath($lastBuildStep->logfile)) {my $path = $lastBuildStep->logfile;$c->stash->{logtext} = `tail -n 50 $path`;} - replacement in src/root/build.tt at line 192
[% ELSIF build.schedulingInfo.busy %][% END %][% IF logtext %]