[% WRAPPER layout.tt title="Build Information" %] [% PROCESS common.tt %] [% PROCESS "product-list.tt" %] [% USE HTML %] [% project = build.get_column('project') %] [% jobset = build.get_column('jobset') %] [% job = build.get_column('job') %]

Job [% project %]:[% jobset %]:[% job %] build [% id %] [% IF !build.finished %] [% IF build.schedulingInfo.busy %] (currently building) [% ELSE %] (scheduled) [% END %] [% END %]

[% IF flashMsg %]

[% flashMsg %]

[% END %]

Information

[% IF build.resultInfo.releasename %] [% END %] [% IF build.finished && build.resultInfo.buildstatus != 4 %] [% IF build.resultInfo.logfile %] [% END %] [% END %] [% IF !build.finished %] [% END %] [% IF build.finished && build.buildproducts %] [% END %]
Build ID: [% build.id %]
Status: [% IF build.finished %] [% IF build.resultInfo.buildstatus == 0 %] Succeeded Success [% ELSIF build.resultInfo.buildstatus == 1 %] Failed Build returned a non-zero exit code [% ELSIF build.resultInfo.buildstatus == 2 %] Failed A dependency of the build failed [% ELSIF build.resultInfo.buildstatus == 4 %] Failed Cancelled by user [% ELSIF build.resultInfo.buildstatus == 5 %] Failed Build inhibited because a dependency previously failed to build [% failedDep = build.resultInfo.failedDep %] (namely, [% failedDep.outpath %]) [% ELSE %] Failed Build failed (see below) [% END %] [% IF c.user_exists && (build.resultInfo.buildstatus == 3 || build.resultInfo.buildstatus == 4) %]
[% END %] [% ELSIF build.schedulingInfo.busy %] Build in progress since [% INCLUDE renderDateTime timestamp = build.schedulingInfo.starttime %] [% ELSE %] Scheduled to be built [% IF c.user_exists %]
[% END %] [% END %]
Project: [% INCLUDE renderProjectName %]
Jobset: [% INCLUDE renderJobsetName %]
Job name: [% INCLUDE renderJobName %]
Nix name: [% build.nixname %]
Release name: [% HTML.escape(build.resultInfo.releasename) %]
Short description: [% IF build.description %][% HTML.escape(build.description) %][% ELSE %](not given)[% END %]
Long description: [% IF build.longdescription %][% HTML.escape(build.longdescription) %][% ELSE %](not given)[% END %]
License: [% IF build.license %][% HTML.escape(build.license) %][% ELSE %](not given)[% END %]
Homepage: [% IF build.homepage %] build.homepage) %]>[% HTML.escape(build.homepage) %][% ELSE %](not given)[% END %]
System: [% build.system %]
Derivation store path: [% build.drvpath %] [% IF drvAvailable %] (build-time dependencies) [% END %]
Output store path: [% build.outpath %] [% IF available %] (runtime dependencies) [% END %]
Time added: [% INCLUDE renderDateTime timestamp = build.timestamp %]
Build started: [% IF build.resultInfo.starttime %][% INCLUDE renderDateTime timestamp = build.resultInfo.starttime %][% ELSE %](cached build)[% END %]
Build finished: [% IF build.resultInfo.stoptime %][% INCLUDE renderDateTime timestamp = build.resultInfo.stoptime %][% ELSE %](cached build)[% END %]
Duration: [% IF build.resultInfo.iscachedbuild %] (cached build) [% ELSE %] [% INCLUDE renderDuration duration = build.resultInfo.stoptime - build.resultInfo.starttime %] [% END %]
Logfile: Available (raw, tail)
Priority: [% build.schedulingInfo.priority %]
Availability: [% IF !available %] Build output is no longer available [% ELSIF build.resultInfo.keep %] Build output will be kept permanently [% IF c.user_exists %]
[% END %] [% ELSE %] Build output is available, but may be garbage-collected [% IF c.user_exists %]
[% END %] [% END %]

Build inputs

[% FOREACH input IN build.inputs -%] [% END -%]
NameTypeValueRevisionStore path
[% input.name %] [% type = input.type; inputTypes.$type %] [% IF input.type == "build" %] Job [% INCLUDE renderFullJobNameOfBuild build=input.dependency %] build [% input.dependency.id %] [% ELSIF input.type == "string" || input.type == "boolean" %] "[% input.value %]" [% ELSE %] [% input.uri %] [% END %] [% IF input.revision %][% input.revision %][% END %] [% input.path %]
[% IF build.buildsteps %]

Build steps

[% FOREACH step IN build.buildsteps -%] [% log = c.uri_for('/build' build.id 'nixlog' step.stepnr) %] [% END %]
NrWhatDurationStatus
[% step.stepnr %] [% IF step.type == 0 %] Build of [% step.outpath %] [% ELSE %] Substitution of [% step.outpath %] [% END %] [% IF step.busy == 0 %] [% INCLUDE renderDuration duration = step.stoptime - step.starttime %] [% ELSE %] [% IF build.finished %] [% INCLUDE renderDuration duration = build.resultInfo.stoptime - step.starttime %] [% ELSE %] [% INCLUDE renderDuration duration = curTime - step.starttime %] [% END %] [% END %] [% IF step.busy == 1 %] [% IF build.finished %] Aborted [% ELSE %] Building [% END %] [% ELSIF step.status == 0 %] Succeeded [% ELSE %] Failed: [% HTML.escape(step.errormsg) %] [% END %] [% IF step.logfile %] (log, raw, tail) [% END %]
[% END %] [% IF build.finished %] [% IF build.resultInfo.errormsg && build.resultInfo.buildstatus != 5 %]

Nix error output

[% HTML.escape(build.resultInfo.errormsg) -%]
[% END %] [% IF build.buildproducts %]

Build products

[% IF !available %]

Note: this build is no longer available.

[% END %] [% INCLUDE renderProductList %] [% END %] [% IF build.dependents %]

Used by

The following builds have used this build as an input:

[% FOREACH input IN build.dependents -%] [% END -%]
BuildInput nameSystemTimestamp
Job [% INCLUDE renderFullJobNameOfBuild build=input.build %] build [% input.build.id %] [% input.name %] [% input.build.system %] [% INCLUDE renderDateTime timestamp = input.build.timestamp %]
[% END %] [% ELSIF build.schedulingInfo.busy %]

Log

[% HTML.escape(logtext) -%]
[% END %] [% END %]