[% WRAPPER layout.tt title="Build Information" %] [% PROCESS common.tt %] [% PROCESS "product-list.tt" %] [% USE HTML %]

Job [% build.project.name %]:[% build.attrname %] 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 %] [% IF build.schedulingInfo.busy %] [% END %] [% 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 [% ELSE %] Failed Build failed (see below) [% END %] [% IF build.resultInfo.buildstatus == 3 || build.resultInfo.buildstatus == 4 %]
[% END %] [% ELSIF build.schedulingInfo.busy %] Build in progress since [% PROCESS renderDateTime timestamp = build.schedulingInfo.starttime %] [% ELSE %] Scheduled to be built [% IF c.user_exists %]
[% END %] [% END %]
Project: [% build.project.name %]
Jobset: [% build.jobset.name %]
Job name: [% build.attrname %]
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 %]
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: [% PROCESS renderDateTime timestamp = build.timestamp %]
Build started: [% IF build.resultInfo.starttime %][% PROCESS renderDateTime timestamp = build.resultInfo.starttime %][% ELSE %](cached build)[% END %]
Build finished: [% IF build.resultInfo.stoptime %][% PROCESS renderDateTime timestamp = build.resultInfo.stoptime %][% ELSE %](cached build)[% END %]
Duration (seconds): [% IF build.resultInfo.iscachedbuild %] (cached build) [% ELSE %] [% build.resultInfo.stoptime - build.resultInfo.starttime %] [% END %]
Logfile: Available
Priority: [% build.schedulingInfo.priority %]
Logfile: [% build.schedulingInfo.logfile %]

Build inputs

[% FOREACH input IN build.inputs -%] [% END -%]
NameTypeValueRevisionStore path
[% input.name %] [% type = input.type; inputTypes.$type %] [% IF input.type == "build" %] Job [% input.dependency.project.name %]:[% input.dependency.attrname %] 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 %] [% step.stoptime - step.starttime %]s [% ELSE %] [% IF build.finished %] [% build.resultInfo.stoptime - step.starttime %]s [% ELSE %] [% curTime - step.starttime %]s [% 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) [% END %]
[% END %] [% IF build.finished %] [% IF build.resultInfo.errormsg %]

Nix error output

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

Build products

[% IF !available %]

Note: this build is no longer available.

[% END %] [% PROCESS 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 [% input.build.project.name %]:[% input.build.attrname %] build [% input.build.id %] [% input.name %] [% input.build.system %] [% PROCESS renderDateTime timestamp = input.build.timestamp %]
[% END %] [% ELSIF build.schedulingInfo.busy %]

Log

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