[% WRAPPER layout.tt title="Job ‘$project.name:$jobset.name:$job.name’ build $id" %] [% PROCESS common.tt %] [% PROCESS "product-list.tt" %] [% USE HTML %] [% USE Date %] [% project = build.project %] [% jobset = build.jobset %] [% job = build.job %] [% BLOCK renderBuildSteps %]

[% type %] build steps

[% FOREACH step IN build.buildsteps -%] [% IF ( type == "All" ) || ( type == "Failed" && step.status != 0 ) || ( type == "Running" && step.busy == 1 ) -%] [% log = c.uri_for('/build' build.id 'nixlog' step.stepnr) %] [% END %] [% 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 %]

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

[% IF flashMsg %]

[% flashMsg %]

[% END %]
[% INCLUDE renderBuildStatusIcon size=128, build=build %] [% IF build.resultInfo.releasename %] [% ELSE %] [% END %] [% IF !build.schedulingInfo %] [% END %] [% IF build.resultInfo.logfile %] [% END %]
Build ID: [% build.id %]
Release name: [% HTML.escape(build.resultInfo.releasename) %]
Nix name: [% build.nixname %]
Status: [% INCLUDE renderStatus build=build %]
System: [% build.system %]
Duration: [% IF build.resultInfo.iscachedbuild %] (cached from [% INCLUDE renderFullBuildLink build=cachedBuild %]) [% ELSE %] [% INCLUDE renderDuration duration = build.resultInfo.stoptime - build.resultInfo.starttime %] [% END %]
Logfile: Available (raw, tail)
[% IF c.user_exists && available %]

Add to release:

[% END %] [% IF c.user_exists %]

[Clone this build]

[% END %] [% IF build.buildproducts %]

Build products

[% IF !available %]

Note: this build is no longer available.

[% END %] [% INCLUDE renderProductList latestRoot=['/job' build.project.name build.jobset.name build.job.name 'latest'] %] [% END %] [% IF !build.finished %] [% INCLUDE renderBuildSteps type="Running" %] [% END %] [% IF build.finished %] [% IF build.buildsteps && build.resultInfo.buildstatus != 0 %] [% INCLUDE renderBuildSteps type="Failed" %] [% END %] [% IF build.resultInfo.buildstatus != 0 && prevSuccessfulBuild %]

Changes

The previous successful build of this job was [% INCLUDE renderFullBuildLink build=prevSuccessfulBuild %]. The following changes were made since:

[% INCLUDE renderInputDiff build2=build , build1=prevSuccessfulBuild %] [% END %] [% IF build.resultInfo.errormsg && build.resultInfo.buildstatus != 5 %]

Nix error output

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

Log

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

Information

[% IF build.nixexprinput %] [% END %] [% IF build.resultInfo.releasename %] [% END %] [% IF build.finished && build.resultInfo.buildstatus != 4 %] [% IF build.resultInfo.iscachedbuild && cachedBuild %] [% END %] [% IF build.resultInfo.logfile %] [% END %] [% END %] [% IF !build.finished %] [% END %] [% IF build.finished && build.buildproducts %] [% END %]
Build ID: [% build.id %]
Status: [% INCLUDE renderStatus build=build %]
Project: [% INCLUDE renderProjectName project=project.name %]
Jobset: [% INCLUDE renderJobsetName project=project.name jobset=jobset.name %]
Job name: [% INCLUDE renderJobName project=project.name jobset=jobset.name job=job.name %]
Nix expression: file [% HTML.escape(build.nixexprpath) %] in input [% HTML.escape(build.nixexprinput) %]
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 %]
Maintainer(s): [% IF build.maintainers %][% HTML.escape(build.maintainers) %][% ELSE %](not given)[% END %]
System: [% build.system %]
Derivation store path: [% build.drvpath %] [% IF drvAvailable %] (build-time dependencies: graph | list) [% END %]
Output store path: [% build.outpath %] [% IF available %] (runtime dependencies: graph | list) [% END %]
Time added: [% INCLUDE renderDateTime timestamp = build.timestamp %]
Cached build: [% INCLUDE renderFullBuildLink build=cachedBuild %]
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" || input.type == "sysbuild" %] [% INCLUDE renderFullBuildLink build=input.dependency %] [% ELSIF input.type == "string" || input.type == "boolean" %] "[% input.value %]" [% ELSE %] [% input.uri %] [% END %] [% IF input.revision %][% input.revision %][% END %] [% input.path %]

[% IF prevBuild %]

Changes since previous build : [% INCLUDE renderFullBuildLink build=prevBuild %]

[% INCLUDE renderInputDiff build2=build , build1=prevBuild %] [% END %]
[% IF build.buildsteps %]
[% INCLUDE renderBuildSteps type="All" %]
[% END %] [% IF build.dependents %]

Used by

The following builds have used this build as an input:

[% FOREACH input IN build.dependents -%] [% END -%]
BuildInput nameSystemTimestamp
[% INCLUDE renderFullBuildLink build=input.build %] [% input.name %] [% input.build.system %] [% INCLUDE renderDateTime timestamp = input.build.timestamp %]
[% END %]

Build time history (in seconds)

[% END %]