X-Git-Url: https://git.exim.org/buildfarm-server.git/blobdiff_plain/855eeb27a1af49fea7b7606fcf384d2269271d2f..1142743568ca54059e8fa794618147a3e281f410:/templates/log.tt diff --git a/templates/log.tt b/templates/log.tt index 43b89c4..2233397 100644 --- a/templates/log.tt +++ b/templates/log.tt @@ -7,7 +7,7 @@ See accompanying License file for license details -%] [% PERL %] use POSIX qw(ceil); - my $lrfactor = 6; + my $lrfactor = 4; $stash->set(lrfactor => $lrfactor); my $rows = $stash->get('log_file_names'); my $logrows = ceil(scalar(@$rows)/$lrfactor); @@ -15,10 +15,10 @@ See accompanying License file for license details $stash->set( logcells => $logcells); $stash->set( logrows => $logrows ); [% END -%] -[% mytitle = BLOCK %]PostgreSQL BuildFarm | [% IF stage != 'OK' %]Log for system "[% system %]" failure on snapshot taken [% urldt ; ELSE %]Configuration summary for system "[% system %]" snapshot taken [% urldt ; END ; END -%] +[% mytitle = BLOCK %]Exim BuildFarm | [% IF stage != 'OK' %]Log for system "[% system %]" failure on snapshot taken [% urldt ; ELSE %]Configuration summary for system "[% system %]" snapshot taken [% urldt ; END ; END -%] [% cvsurl = 'http://anoncvs.postgresql.org/cvsweb.cgi'; - giturl = scmurl || 'http://git.postgresql.org/gitweb?p=postgresql.git;a=commit;h='; + giturl = scmurl || 'http://git.exim.org/gitweb?p=exim.git;a=commit;h='; -%] [% WRAPPER 'page.tt' title = mytitle @@ -32,7 +32,7 @@ See accompanying License file for license details %][% commitref %][% logtail | html %] [% END -%] -

PostgreSQL Build Farm Log

+

Exim Build Farm Log

Details for system "[% system %]"[% IF stage != 'OK' %] failure at stage [% stage ; ELSE %], status 'OK'[% END %], snapshot taken [% urldt %]

@@ -69,10 +69,10 @@ See accompanying License file for license details [% END %] [% cell = 0; FOREACH logstage IN log_file_names ; striplog = logstage.replace('\.log$','') ; cell = loop.count %] [% IF loop.first %] -
+
Stage Logs
[% END %] [% IF loop.count > 1 and loop.count % lrfactor == 1 %][% END %] - + [% IF loop.count % lrfactor == 0 %][% END %] [% END %] @@ -104,8 +104,9 @@ See accompanying License file for license details [% IF changed_this_run_logs.0 %]
Git log
-Change Set for this build
-
+[% IF last_build_git_ref && git_head_ref %]
+Change Set for this build
+[% END %]
 [% FOREACH clog IN changed_this_run_logs ; PROCESS gitlog -%]
 [%- END -%]
 
Stage Logs

Total run time
[% run_time %]
[% striplog %][% striplog %] ([% stage_times.$logstage.stage_duration %])