X-Git-Url: https://git.exim.org/buildfarm-server.git/blobdiff_plain/a63dde634310b9d7616b324a4fcf327059c9dbd7..a95aefd0bc7b551a30e1c025b25b2f0837ca513a:/templates/log.tt diff --git a/templates/log.tt b/templates/log.tt index c5d275a..0e9b8b2 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 || 'https://git.exim.org/gitweb?p=exim.git;a=commit;h='; -%] [% WRAPPER 'page.tt' title = mytitle @@ -26,13 +26,13 @@ See accompanying License file for license details pagebutton = 'none' %] [%- BLOCK gitlog ; - commitref = clog.replace('commit ([0-9A-Fa-f]+)(.|\n)*','$1'); - logtail = clog.replace('commit ([0-9A-Fa-f]+)',''); + commitref = clog.replace('^commit ([0-9A-Fa-f]+)(.|\n)*','$1'); + logtail = clog.replace('^commit ([0-9A-Fa-f]+)',''); logtail = logtail.replace('\n',' '); %][% commitref %][% logtail | html %] [% END -%] -
[% system %] | -[% branch %] | +[% branch %] | [% info_row.operating_system %] [% info_row.os_version %] | [% info_row.compiler %] [% info_row.compiler_version %] | [% info_row.architecture %] | @@ -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 | +
---|
Stage Logs Total run time [% run_time %] |
[% END %]
[% IF loop.count > 1 and loop.count % lrfactor == 1 %]|
---|---|
[% striplog %] | +[% striplog %] ([% stage_times.$logstage.stage_duration %]) | [% IF loop.count % lrfactor == 0 %]