[%- END -%]
[%- END -%]
[%- BLOCK renderBuildListFooter -%]
[%- END -%]
[%- BLOCK renderBuildList -%]
[%- INCLUDE renderBuildListHeader -%]
[%- INCLUDE renderBuildListBody -%]
[%- INCLUDE renderBuildListFooter -%]
[%- END -%]
[%- BLOCK renderLink -%][% title %][%- END -%]
[%- BLOCK showBuildStats -%]
Finished builds:
[% finishedBuilds %]
Succeeded builds:
[% succeededBuilds %]
Failed builds:
[% finishedBuilds - succeededBuilds %]
Total build time:
[% INCLUDE renderDuration duration = totalBuildTime %]
Scheduled builds:
[% scheduledBuilds %]
Currently executing builds:
[% busyBuilds %]
[%- END -%]
[% BLOCK renderViewJobName -%]
[% IF job.description; HTML.escape(job.description); ELSE %][% job.job %] ([% job.attrs %])[% END -%]
[% END -%]
[% BLOCK maybeLink -%]
[% IF uri %] uri) %][% IF confirmmsg %]onclick="javascript:return confirm('[% confirmmsg %]')"[% END %]>[% content %][% ELSE; content; END -%]
[% END -%]
[% BLOCK maybeButton -%]
[% IF uri %] uri) %][% IF confirmmsg %]onclick="javascript:return confirm('[% confirmmsg %]')"[% END %]>[% content %][% ELSE; content; END -%]
[% END -%]
[% BLOCK renderSelection %]
[% IF edit %]
[% ELSE %]
[% options.$curValue %]
[% END %]
[% END %]
[% BLOCK maybeEditString;
IF edit -%]
param, name => param, value => value) %] />
[% ELSE;
HTML.escape(value);
END -%]
[% END -%]
[% BLOCK renderFullBuildLink %]
[% INCLUDE renderFullJobNameOfBuild build=build %] build [% build.id %][% -%]
[% END %]
[%- BLOCK renderBuildStatusIcon -%]
[%- finished = build != undef ? build.finished : 1 -%]
[%- busy = busy != undef ? busy : build.busy -%]
[%- buildstatus = buildstatus != undef ? buildstatus : build.buildstatus -%]
[%- IF finished -%]
[%- IF buildstatus == 0 -%]
[%- ELSIF buildstatus == 1 -%]
[%- ELSIF buildstatus == 2 -%]
[%- ELSIF buildstatus == 4 -%]
[%- ELSIF buildstatus == 5 -%]
[%- ELSIF buildstatus == 6 -%]
[%- ELSE -%]
[%- END -%]
[%- ELSIF busy -%]
[%- ELSE -%]
[%- END -%]
[%- END -%]
[% BLOCK renderStatus %]
[% IF build.finished %]
[% buildstatus = build.buildstatus %]
[% INCLUDE renderBuildStatusIcon size=16 %]
[% IF buildstatus == 0 %]
Success
[% ELSIF buildstatus == 1 %]
Build returned a non-zero exit code
[% ELSIF buildstatus == 2 %]
A dependency of the build failed
[% ELSIF buildstatus == 4 %]
Cancelled by user
[% ELSIF buildstatus == 5 %]
Build inhibited because a dependency previously failed to build
[% ELSIF buildstatus == 6 %]
Build failed (with result)
[% ELSE %]
Build failed
(see below)
[% END %]
[% ELSIF build.busy %]
Build in progress
since [% INCLUDE renderDateTime timestamp = build.starttime %]
[% ELSE %]
Scheduled to be built
[% IF c.user_exists %]
[% END %]
[% END %]
[% END -%]
[% BLOCK renderInputValue %]
[% IF input.type == "build" || input.type == "sysbuild" %]
[% INCLUDE renderFullBuildLink build=input.dependency %]
[% ELSIF input.type == "string" || input.type == "boolean" %]
"[% input.value %]"
[% ELSE %]
[% input.uri %][% IF input.revision %] (r. [% input.revision %])[% END %]
[% END %]
[% END %]
[% BLOCK renderShortInputValue %]
[% IF input.type == "build" || input.type == "sysbuild" %]
[% input.dependency.id %]
[% ELSIF input.type == "string" || input.type == "boolean" %]
"[% input.value %]"
[% ELSE %]
[% input.uri %][% IF input.revision %] (r. [% input.revision %])[% END %]
[% END %]
[% END %]
[% BLOCK renderDiffUri; %]
[% nouri = 1 %]
[% FOREACH m IN mappers %]
[% base = m.baseuri %]
[% url = bi1.uri %]
[% path = url.replace(base, '') %]
[% IF url.match(base) %]
[% contents %]
[% nouri = 0 %]
[% END %]
[% END %]
[% IF nouri %]
[% res = bi1.uri.split(' ') %]
[% url = res.0 %]
[% branch = res.1 %]
[% IF bi1.type == "hg" || bi1.type == "git" %]
[% contents %]
[% ELSE %]
[% contents %]
[% END %]
[% END %]
[% END %]
[% BLOCK renderInputDiff; %]
[% IF !nestedDiff %]
Input
Changes
[% END %]
[% FOREACH bi1 IN build1.inputs %]
[% deletedInput = 1 %]
[% FOREACH bi2 IN build2.inputs %]
[% IF bi1.name == bi2.name %]
[% IF bi1.type == bi2.type %]
[% IF bi1.value != bi2.value || bi1.uri != bi2.uri %]
[% bi1.name %]
[% INCLUDE renderShortInputValue input=bi1 %] to [% INCLUDE renderShortInputValue input=bi2 %]