2009-10-26 13:39:03 +00:00
|
|
|
|
[% WRAPPER layout.tt title="Job ‘$project.name:$jobset.name:$job.name’ build $id" %]
|
2008-11-17 23:59:20 +00:00
|
|
|
|
[% PROCESS common.tt %]
|
2008-11-27 18:27:19 +00:00
|
|
|
|
[% PROCESS "product-list.tt" %]
|
2008-11-18 14:48:40 +00:00
|
|
|
|
[% USE HTML %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
[% USE Date %]
|
2008-10-28 10:19:31 +00:00
|
|
|
|
|
2009-04-02 16:15:57 +00:00
|
|
|
|
[% project = build.project %]
|
|
|
|
|
[% jobset = build.jobset %]
|
|
|
|
|
[% job = build.job %]
|
2009-03-12 23:46:17 +00:00
|
|
|
|
|
2013-02-13 16:49:28 +00:00
|
|
|
|
[% BLOCK renderOutputs %]
|
|
|
|
|
[% start=1; FOREACH output IN outputs %]
|
|
|
|
|
[% IF !start %],<br/>[% END; start=0; output.path %]
|
|
|
|
|
[% END %]
|
|
|
|
|
[% END %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
|
2013-02-13 16:49:28 +00:00
|
|
|
|
[% BLOCK renderBuildSteps %]
|
|
|
|
|
<table class="tablesorter table table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr><th>Nr</th><th>What</th><th>Duration</th><th>Machine</th><th>Status</th></tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
[% FOREACH step IN build.buildsteps %]
|
|
|
|
|
[% IF ( type == "All" ) || ( type == "Failed" && step.status != 0 ) || ( type == "Running" && step.busy == 1 ) %]
|
|
|
|
|
[% has_log = log_exists(step.drvpath);
|
|
|
|
|
log = c.uri_for('/build' build.id 'nixlog' step.stepnr); %]
|
|
|
|
|
<tr [% IF has_log %] class="clickable" onclick="window.location = '[% log %]'" [% END %]>
|
|
|
|
|
<td>[% step.stepnr %]</td>
|
|
|
|
|
<td>
|
|
|
|
|
[% IF step.type == 0 %]
|
|
|
|
|
Build of <tt>[% INCLUDE renderOutputs outputs=step.buildstepoutputs %]</tt>
|
|
|
|
|
[% ELSE %]
|
|
|
|
|
Substitution of <tt>[% INCLUDE renderOutputs outputs=step.buildstepoutputs %]</tt>
|
|
|
|
|
[% END %]
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
[% IF step.busy == 0;
|
|
|
|
|
INCLUDE renderDuration duration = step.stoptime - step.starttime;
|
|
|
|
|
ELSIF build.finished;
|
|
|
|
|
INCLUDE renderDuration duration = build.stoptime - step.starttime;
|
|
|
|
|
ELSE;
|
|
|
|
|
INCLUDE renderDuration duration = curTime - step.starttime;
|
|
|
|
|
END %]
|
|
|
|
|
</td>
|
|
|
|
|
<td>[% step.machine.split('@').1 %]</td>
|
|
|
|
|
<td>
|
|
|
|
|
[% IF step.busy == 1 %]
|
|
|
|
|
<strong>Building</strong>
|
|
|
|
|
[% ELSIF step.status == 0 %]
|
|
|
|
|
Succeeded
|
|
|
|
|
[% ELSIF step.status == 4 %]
|
|
|
|
|
<span class="error">Aborted</span>
|
|
|
|
|
[% ELSE %]
|
|
|
|
|
<span class="error">Failed: [% HTML.escape(step.errormsg) %]</span>
|
|
|
|
|
[% END %]
|
2013-02-14 14:53:34 +00:00
|
|
|
|
[%%] [%+ IF has_log; INCLUDE renderLogLinks url=log; END %]
|
2013-02-13 16:49:28 +00:00
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% END %]
|
|
|
|
|
[% END %]
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
2010-02-05 14:48:22 +00:00
|
|
|
|
[% END %]
|
|
|
|
|
|
|
|
|
|
|
2009-03-02 16:03:41 +00:00
|
|
|
|
[% IF flashMsg %]
|
2012-04-17 09:35:37 +00:00
|
|
|
|
<p class="btn-info btn-large">[% flashMsg %]</p>
|
2009-03-02 16:03:41 +00:00
|
|
|
|
[% END %]
|
|
|
|
|
|
2013-01-22 13:41:02 +00:00
|
|
|
|
<ul id="tab" class="nav nav-tabs">
|
|
|
|
|
<li><a href="#tabs-summary" data-toggle="tab">Summary</a></li>
|
2013-02-14 12:23:54 +00:00
|
|
|
|
<li><a href="#tabs-information" data-toggle="tab">Details</a></li>
|
2013-01-22 13:41:02 +00:00
|
|
|
|
<li><a href="#tabs-buildinputs" data-toggle="tab">Build inputs</a></li>
|
|
|
|
|
[% IF relatedbuilds %]<li><a href="#tabs-relatedbuilds" data-toggle="tab">Related builds</a></li>[% END %]
|
|
|
|
|
[% IF build.buildsteps %]<li><a href="#tabs-buildsteps" data-toggle="tab">Build steps</a></li>[% END %]
|
2012-04-12 18:12:07 +00:00
|
|
|
|
[% IF build.dependents %]<li><a href="#tabs-usedby" data-toggle="tab">Used by</a></li>[% END%]
|
2013-01-22 13:41:02 +00:00
|
|
|
|
[% IF prevBuilds %]<li><a href="#tabs-history" data-toggle="tab">History chart</a></li>[% END %]
|
|
|
|
|
</ul>
|
2012-04-12 18:12:07 +00:00
|
|
|
|
<div id="generic-tabs" class="tab-content">
|
2013-01-22 13:41:02 +00:00
|
|
|
|
<div id="tabs-summary" class="tab-pane active">
|
|
|
|
|
|
|
|
|
|
<table class="layoutTable">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
[% INCLUDE renderBuildStatusIcon size=128, build=build %]
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<table class="layoutTable">
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Build ID:</th>
|
|
|
|
|
<td>[% build.id %]</td>
|
|
|
|
|
</tr>
|
2013-01-22 22:05:02 +00:00
|
|
|
|
<tr>
|
|
|
|
|
<th>Status:</th>
|
|
|
|
|
<td>
|
|
|
|
|
[% INCLUDE renderStatus build=build icon=0 %]
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2013-01-22 13:41:02 +00:00
|
|
|
|
[% IF build.releasename %]
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Release name:</th>
|
|
|
|
|
<td><tt>[% HTML.escape(build.releasename) %]</tt></td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% ELSE %]
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Nix name:</th>
|
|
|
|
|
<td><tt>[% build.nixname %]</tt></td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% END %]
|
|
|
|
|
<tr>
|
|
|
|
|
<th>System:</th>
|
|
|
|
|
<td><tt>[% build.system %]</tt></td>
|
|
|
|
|
</tr>
|
2013-02-13 16:49:28 +00:00
|
|
|
|
[% IF build.iscachedbuild %]
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Cached from:</th>
|
|
|
|
|
<td>
|
|
|
|
|
[% INCLUDE renderFullBuildLink build=cachedBuild %]
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% ELSE %]
|
2013-01-22 13:41:02 +00:00
|
|
|
|
<tr>
|
|
|
|
|
<th>Duration:</th>
|
|
|
|
|
<td>
|
2013-02-13 16:49:28 +00:00
|
|
|
|
[% INCLUDE renderDuration duration = build.stoptime - build.starttime %]; finished at [% INCLUDE renderDateTime timestamp = build.stoptime %]
|
2013-01-22 13:41:02 +00:00
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% END %]
|
2013-01-22 21:48:02 +00:00
|
|
|
|
[% IF log_exists(build.drvpath) %]
|
2013-01-22 13:41:02 +00:00
|
|
|
|
<tr>
|
|
|
|
|
<th>Logfile:</th>
|
|
|
|
|
<td>
|
2013-01-22 21:48:02 +00:00
|
|
|
|
<a class="btn btn-mini" href="[% c.uri_for('/build' build.id 'log') %]">pretty</a>
|
2013-01-22 13:41:02 +00:00
|
|
|
|
<a class="btn btn-mini" href="[% c.uri_for('/build' build.id 'log' 'raw') %]">raw</a>
|
|
|
|
|
<a class="btn btn-mini" href="[% c.uri_for('/build' build.id 'log' 'tail-reload') %]">tail</a>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% END %]
|
|
|
|
|
</table>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
[% IF c.user_exists && available %]
|
|
|
|
|
<form class="form-horizontal" action="[% c.uri_for('/build' build.id 'add-to-release') %]" method="post">
|
2012-04-17 14:53:11 +00:00
|
|
|
|
<div class="control-group">
|
|
|
|
|
<label class="control-label">Add to release</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
|
<input type="text" class="input" name="name"></input>
|
|
|
|
|
<button type="submit" class="btn btn-success">Apply</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-01-22 13:41:02 +00:00
|
|
|
|
</form>
|
|
|
|
|
[% END %]
|
|
|
|
|
|
|
|
|
|
[% IF build.buildproducts %]
|
|
|
|
|
|
|
|
|
|
<h3>Build products</h3>
|
|
|
|
|
|
|
|
|
|
[% IF !available %]
|
|
|
|
|
<p class="error">Note: this build is no longer available.</p>
|
|
|
|
|
[% END %]
|
|
|
|
|
|
|
|
|
|
[% INCLUDE renderProductList latestRoot=['/job' build.project.name build.jobset.name build.job.name 'latest'] %]
|
|
|
|
|
|
|
|
|
|
[% END %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
|
2013-01-22 22:01:29 +00:00
|
|
|
|
[% IF build.busy %]
|
2012-04-17 09:35:37 +00:00
|
|
|
|
<h3>Running build steps</h3>
|
2010-02-23 13:08:58 +00:00
|
|
|
|
[% INCLUDE renderBuildSteps type="Running" %]
|
2013-01-22 13:41:02 +00:00
|
|
|
|
[% END %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
|
2013-01-22 13:41:02 +00:00
|
|
|
|
[% IF build.finished %]
|
|
|
|
|
[% IF build.buildsteps && build.buildstatus != 0 && build.buildstatus != 6 %]
|
2012-04-17 09:35:37 +00:00
|
|
|
|
<h3>Failed build steps</h3>
|
2013-01-22 13:41:02 +00:00
|
|
|
|
[% INCLUDE renderBuildSteps type="Failed" %]
|
|
|
|
|
[% END %]
|
2010-02-05 14:48:22 +00:00
|
|
|
|
|
2011-10-12 12:43:31 +00:00
|
|
|
|
[% IF prevSuccessfulBuild %]
|
2012-04-15 16:48:29 +00:00
|
|
|
|
<h3>Changes</h3>
|
2012-04-12 18:12:07 +00:00
|
|
|
|
<table class="table table-striped table-condensed">
|
2011-01-14 08:11:21 +00:00
|
|
|
|
<thead>
|
2011-06-10 07:36:30 +00:00
|
|
|
|
<th>Last successful build <tt>[% INCLUDE renderDateTime timestamp = prevSuccessfulBuild.timestamp %]</tt></th>
|
2011-09-26 14:47:55 +00:00
|
|
|
|
[% IF prevSuccessfulBuild && firstBrokenBuild && firstBrokenBuild.id != build.id %]
|
2012-04-12 19:03:59 +00:00
|
|
|
|
<th>First broken build <tt>[% INCLUDE renderDateTime timestamp = firstBrokenBuild.timestamp %]</tt>
|
|
|
|
|
<a class="btn btn-mini" href="[% c.uri_for(c.controller('API').action_for('logdiff') prevSuccessfulBuild.id firstBrokenBuild.id ) %]">log diff</a>
|
2011-09-26 14:47:55 +00:00
|
|
|
|
</th>
|
|
|
|
|
[% END %]
|
2012-04-12 19:03:59 +00:00
|
|
|
|
<th>This build <tt>[% INCLUDE renderDateTime timestamp = build.timestamp %]</tt>
|
|
|
|
|
<a class="btn btn-mini" href="[% c.uri_for(c.controller('API').action_for('logdiff') prevSuccessfulBuild.id build.id) %]">log diff</a>
|
2011-09-26 14:47:55 +00:00
|
|
|
|
</th>
|
2011-01-14 08:11:21 +00:00
|
|
|
|
</thead>
|
|
|
|
|
<tr>
|
2012-04-12 18:12:07 +00:00
|
|
|
|
<td valign="center">[% INCLUDE renderBuildStatusIcon build=prevSuccessfulBuild size=32 %] [% INCLUDE renderFullBuildLink build=prevSuccessfulBuild, hideProjectName=1, hideJobsetName=1 %]</td>
|
|
|
|
|
[% IF prevSuccessfulBuild && firstBrokenBuild && firstBrokenBuild.id != build.id %]<td valign="center">[% INCLUDE renderBuildStatusIcon build=firstBrokenBuild size=32 %] [% INCLUDE renderFullBuildLink build=firstBrokenBuild, hideProjectName=1, hideJobsetName=1 %]</td>[% END %]
|
|
|
|
|
<td>[% INCLUDE renderBuildStatusIcon build=build size=32 %] [% INCLUDE renderFullBuildLink build=build, hideProjectName=1, hideJobsetName=1 %]</td>
|
2013-01-22 13:41:02 +00:00
|
|
|
|
</tr>
|
2011-01-14 08:11:21 +00:00
|
|
|
|
<tr>
|
|
|
|
|
<td></td>
|
|
|
|
|
[% IF prevSuccessfulBuild && firstBrokenBuild && firstBrokenBuild.id != build.id %]<td>[% INCLUDE renderInputDiff build1=prevSuccessfulBuild , build2=firstBrokenBuild %]</td>[% END %]
|
|
|
|
|
<td>[% INCLUDE renderInputDiff build1=prevSuccessfulBuild , build2=build %]</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
2011-10-12 12:43:31 +00:00
|
|
|
|
[% END %]
|
2010-02-23 13:08:58 +00:00
|
|
|
|
|
2013-01-22 13:41:02 +00:00
|
|
|
|
[% IF build.errormsg && build.buildstatus != 5 %]
|
|
|
|
|
|
|
|
|
|
<h2 id="nix-error">Nix error output</h2>
|
|
|
|
|
|
2013-02-14 15:51:42 +00:00
|
|
|
|
<pre class="buildlog">[% HTML.escape(build.errormsg) %]</pre>
|
2013-01-22 13:41:02 +00:00
|
|
|
|
[% END %]
|
|
|
|
|
[% END %]
|
2013-01-22 21:48:02 +00:00
|
|
|
|
|
2013-01-22 13:41:02 +00:00
|
|
|
|
[% IF logtext %]
|
|
|
|
|
<h2>Log</h2>
|
2013-02-14 15:51:42 +00:00
|
|
|
|
<pre class="buildlog">[% HTML.escape(logtext) %]</pre>
|
2013-01-22 13:41:02 +00:00
|
|
|
|
[% END %]
|
|
|
|
|
</div>
|
|
|
|
|
<div id="tabs-information" class="tab-pane">
|
|
|
|
|
|
|
|
|
|
<table class="layoutTable">
|
|
|
|
|
[% IF build.nixexprinput %]
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Nix expression:</th>
|
|
|
|
|
<td>file <tt>[% HTML.escape(build.nixexprpath) %]</tt> in input <tt>[% HTML.escape(build.nixexprinput) %]</tt></td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% END %]
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Nix name:</th>
|
|
|
|
|
<td><tt>[% build.nixname %]</tt></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Short description:</th>
|
|
|
|
|
<td>[% IF build.description %][% HTML.escape(build.description) %][% ELSE %]<em>(not given)</em>[% END %]</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Long description:</th>
|
|
|
|
|
<td>[% IF build.longdescription %][% HTML.escape(build.longdescription) %][% ELSE %]<em>(not given)</em>[% END %]</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>License:</th>
|
|
|
|
|
<td>[% IF build.license %][% HTML.escape(build.license) %][% ELSE %]<em>(not given)</em>[% END %]</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Homepage:</th>
|
|
|
|
|
<td>[% IF build.homepage %]<a [% HTML.attributes(href => build.homepage) %]>[% HTML.escape(build.homepage) %]</a>[% ELSE %]<em>(not given)</em>[% END %]</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Maintainer(s):</th>
|
2013-01-22 21:48:02 +00:00
|
|
|
|
<td>[% IF build.maintainers %][% HTML.escape(build.maintainers) %][% ELSE %]<em>(not given)</em>[% END %]</td>
|
2013-01-22 13:41:02 +00:00
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>System:</th>
|
|
|
|
|
<td><tt>[% build.system %]</tt></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Derivation store path:</th>
|
|
|
|
|
<td>
|
|
|
|
|
<tt>[% build.drvpath %]</tt>
|
|
|
|
|
[% IF drvAvailable %]
|
|
|
|
|
(<a href="[% c.uri_for('/build' build.id 'deps') %]#buildtime">build-time dependencies</a>)
|
|
|
|
|
[% END %]
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
2013-02-13 16:49:28 +00:00
|
|
|
|
<th>Output store paths:</th>
|
2013-01-22 13:41:02 +00:00
|
|
|
|
<td>
|
2013-02-13 16:49:28 +00:00
|
|
|
|
<tt>[% INCLUDE renderOutputs outputs=build.buildoutputs %]</tt>
|
2013-01-22 13:41:02 +00:00
|
|
|
|
[% IF available %]
|
|
|
|
|
(<a href="[% c.uri_for('/build' build.id 'deps') %]#runtime">runtime dependencies</a>)
|
|
|
|
|
[% END %]
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Time added:</th>
|
|
|
|
|
<td>[% INCLUDE renderDateTime timestamp = build.timestamp %]</td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% IF build.finished && build.buildstatus != 4 %]
|
|
|
|
|
[% IF build.iscachedbuild && cachedBuild %]
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Cached build:</th>
|
|
|
|
|
<td>[% INCLUDE renderFullBuildLink build=cachedBuild %]</td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% END %]
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Build started:</th>
|
|
|
|
|
<td>[% IF build.starttime %][% INCLUDE renderDateTime timestamp = build.starttime %][% ELSE %]<em>(cached build)</em>[% END %]</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Build finished:</th>
|
|
|
|
|
<td>[% IF build.stoptime %][% INCLUDE renderDateTime timestamp = build.stoptime %][% ELSE %]<em>(cached build)</em>[% END %]</td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% END %]
|
|
|
|
|
[% IF !build.finished %]
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Priority:</th>
|
|
|
|
|
<td>[% build.priority %]</td>
|
|
|
|
|
</tr>
|
2012-02-29 01:22:49 +00:00
|
|
|
|
[% END %]
|
2013-01-22 13:41:02 +00:00
|
|
|
|
[% IF build.finished && build.buildproducts %]
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Availability:</th>
|
|
|
|
|
<td>
|
|
|
|
|
[% IF !available %]
|
|
|
|
|
<em>Build output is no longer available</em>
|
|
|
|
|
[% ELSIF build.keep %]
|
|
|
|
|
<em>Build output will be kept permanently</em>
|
|
|
|
|
[% ELSE %]
|
|
|
|
|
<em>Build output is available, but may be garbage-collected</em>
|
|
|
|
|
[% END %]
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
[% END %]
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="tabs-buildinputs" class="tab-pane">
|
|
|
|
|
|
|
|
|
|
<table class="tablesorter table table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr><th>Name</th><th>Type</th><th>Value</th><th>Revision</th><th>Store path</th></tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
2013-02-14 15:51:42 +00:00
|
|
|
|
[% FOREACH input IN build.inputs %]
|
2013-01-22 13:41:02 +00:00
|
|
|
|
<tr>
|
|
|
|
|
<td><tt>[% input.name %]</tt></td>
|
|
|
|
|
<td><tt>[% type = input.type; inputTypes.$type %]</tt></td>
|
|
|
|
|
<td>
|
|
|
|
|
[% IF input.type == "build" || input.type == "sysbuild" %]
|
|
|
|
|
[% INCLUDE renderFullBuildLink build=input.dependency %]</a>
|
|
|
|
|
[% ELSIF input.type == "string" || input.type == "boolean" %]
|
|
|
|
|
<tt>"[% input.value %]"</tt>
|
|
|
|
|
[% ELSE %]
|
|
|
|
|
<tt>[% input.uri %]</tt>
|
|
|
|
|
[% END %]
|
|
|
|
|
</td>
|
|
|
|
|
<td>[% IF input.revision %][% input.revision %][% END %]</td>
|
|
|
|
|
<td><tt>[% input.path %]</tt></td>
|
|
|
|
|
</tr>
|
2013-02-14 15:51:42 +00:00
|
|
|
|
[% END %]
|
2013-01-22 13:41:02 +00:00
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
2010-02-22 13:21:34 +00:00
|
|
|
|
|
2010-02-23 13:08:58 +00:00
|
|
|
|
<p/>
|
|
|
|
|
|
2010-02-22 13:21:34 +00:00
|
|
|
|
[% IF prevBuild %]
|
2013-01-22 21:48:02 +00:00
|
|
|
|
<h3>Changes since previous build: [% INCLUDE renderFullBuildLink build=prevBuild, hideProjectName=1, hideJobsetName=1 %]</h3>
|
2010-02-22 13:21:34 +00:00
|
|
|
|
[% INCLUDE renderInputDiff build2=build , build1=prevBuild %]
|
|
|
|
|
[% END %]
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
|
|
|
|
</div>
|
2008-11-05 06:23:41 +00:00
|
|
|
|
|
2012-02-16 15:56:01 +00:00
|
|
|
|
[% IF relatedbuilds %]
|
2013-01-22 13:41:02 +00:00
|
|
|
|
<div id="tabs-relatedbuilds" class="tab-pane">
|
|
|
|
|
<p>The following builds are part of the same jobset evaluation that produced this build.</p>
|
|
|
|
|
[% INCLUDE renderBuildList builds=relatedbuilds hideProjectName=1 hideJobsetName=1 %]
|
|
|
|
|
</div>
|
2012-02-16 15:56:01 +00:00
|
|
|
|
[% END %]
|
2008-11-05 06:23:41 +00:00
|
|
|
|
|
2008-11-11 17:49:50 +00:00
|
|
|
|
[% IF build.buildsteps %]
|
2012-04-17 09:35:37 +00:00
|
|
|
|
<div id="tabs-buildsteps" class="tab-pane">
|
|
|
|
|
[% INCLUDE renderBuildSteps type="All" %]
|
|
|
|
|
</div>
|
2008-11-25 00:38:16 +00:00
|
|
|
|
[% END %]
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2008-11-25 00:38:16 +00:00
|
|
|
|
|
2008-11-09 00:48:36 +00:00
|
|
|
|
[% IF build.dependents %]
|
2012-04-12 18:12:07 +00:00
|
|
|
|
<div id="tabs-usedby" class="tab-pane">
|
2010-02-05 14:48:22 +00:00
|
|
|
|
|
2013-01-22 13:41:02 +00:00
|
|
|
|
<h2>Used by</h2>
|
|
|
|
|
|
|
|
|
|
<p>The following builds have used this build as an input:</p>
|
|
|
|
|
|
|
|
|
|
<table class="tablesorter table table-condensed table-striped">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr><th>Build</th><th>Input name</th><th>System</th><th>Timestamp</th></tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
2013-02-14 15:51:42 +00:00
|
|
|
|
[% FOREACH input IN build.dependents %]
|
2013-01-22 13:41:02 +00:00
|
|
|
|
<tr>
|
|
|
|
|
<td>[% INCLUDE renderFullBuildLink build=input.build %]</td>
|
|
|
|
|
<td><tt>[% input.name %]</tt></td>
|
|
|
|
|
<td><tt>[% input.build.system %]</tt></td>
|
|
|
|
|
<td>[% INCLUDE renderDateTime timestamp = input.build.timestamp %]</td>
|
|
|
|
|
</tr>
|
2013-02-14 15:51:42 +00:00
|
|
|
|
[% END %]
|
2013-01-22 13:41:02 +00:00
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
2010-02-05 14:48:22 +00:00
|
|
|
|
</div>
|
2008-11-06 13:40:31 +00:00
|
|
|
|
[% END %]
|
2010-02-23 13:47:24 +00:00
|
|
|
|
[% IF prevBuilds %]
|
2012-04-12 18:12:07 +00:00
|
|
|
|
<div id="tabs-history" class="tab-pane">
|
2010-02-11 09:18:30 +00:00
|
|
|
|
<h2>Build time history (in seconds)</h2>
|
2013-01-22 13:41:02 +00:00
|
|
|
|
<div id="placeholder" style="width:800px;height:400px;"></div>
|
|
|
|
|
<div id="overview" style="margin-left:50px;margin-top:20px;width:600px;height:50px"></div>
|
2010-02-10 10:15:09 +00:00
|
|
|
|
|
|
|
|
|
<script src="/static/js/flot/jquery.flot.js" type="text/javascript"></script>
|
2010-02-11 09:18:30 +00:00
|
|
|
|
<script src="/static/js/flot/jquery.flot.selection.js" type="text/javascript"></script>
|
2010-02-10 10:15:09 +00:00
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$(function() {
|
2010-02-11 09:18:30 +00:00
|
|
|
|
var d = [];
|
|
|
|
|
var ids = [];
|
2012-03-05 20:52:47 +00:00
|
|
|
|
[% FOREACH prevbuild IN prevBuilds %][% IF prevbuild.build.starttime != 0 %]
|
|
|
|
|
d.push([[% prevbuild.starttime * 1000 %],[% prevbuild.get_column('actualBuildTime') %]]);
|
|
|
|
|
ids[[% prevbuild.starttime * 1000 %]] = [% prevbuild.id %] ;
|
2013-01-22 13:41:02 +00:00
|
|
|
|
[% END %][% END %]
|
2010-02-11 09:18:30 +00:00
|
|
|
|
|
2010-02-10 10:15:09 +00:00
|
|
|
|
var options = {
|
2010-02-11 09:18:30 +00:00
|
|
|
|
xaxis: { mode: "time" },
|
|
|
|
|
selection: { mode: "x" },
|
2010-02-10 10:15:09 +00:00
|
|
|
|
points: { show: true },
|
|
|
|
|
lines: { show: true },
|
2010-02-11 09:18:30 +00:00
|
|
|
|
grid: {
|
|
|
|
|
clickable: true,
|
|
|
|
|
hoverable: true,
|
|
|
|
|
hoverFill: '#444',
|
|
|
|
|
hoverRadius: 4,
|
|
|
|
|
},
|
2010-02-10 10:15:09 +00:00
|
|
|
|
};
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2010-02-10 10:15:09 +00:00
|
|
|
|
|
2010-02-11 09:18:30 +00:00
|
|
|
|
var plot = $.plot($("#placeholder"), [d], options);
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2010-02-11 09:18:30 +00:00
|
|
|
|
var overview = $.plot($("#overview"), [d], {
|
|
|
|
|
series: {
|
|
|
|
|
lines: { show: true, lineWidth: 1 },
|
|
|
|
|
shadowSize: 0
|
|
|
|
|
},
|
|
|
|
|
xaxis: { ticks: [], mode: "time" },
|
|
|
|
|
yaxis: { ticks: [], min: 0, autoscaleMargin: 0.1 },
|
|
|
|
|
selection: { mode: "x" }
|
|
|
|
|
});
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2010-02-11 09:18:30 +00:00
|
|
|
|
// now connect the two
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2010-02-11 09:18:30 +00:00
|
|
|
|
$("#placeholder").bind("plotselected", function (event, ranges) {
|
|
|
|
|
// do the zooming
|
|
|
|
|
plot = $.plot($("#placeholder"), [d],
|
|
|
|
|
$.extend(true, {}, options, {
|
|
|
|
|
xaxis: { min: ranges.xaxis.from, max: ranges.xaxis.to }
|
|
|
|
|
}));
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2010-02-11 09:18:30 +00:00
|
|
|
|
// don't fire event on the overview to prevent eternal loop
|
|
|
|
|
overview.setSelection(ranges, true);
|
|
|
|
|
});
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2010-02-11 09:18:30 +00:00
|
|
|
|
$("#overview").bind("plotselected", function (event, ranges) {
|
|
|
|
|
plot.setSelection(ranges);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$("#placeholder").bind("plotclick", function (e, pos, item) {
|
|
|
|
|
if (item) {
|
|
|
|
|
plot.highlight(item.series, item.datapoint);
|
|
|
|
|
buildid = ids[item.datapoint[0]];
|
|
|
|
|
window.location = "/build/"+buildid;
|
2013-01-22 13:41:02 +00:00
|
|
|
|
}
|
|
|
|
|
});
|
2010-02-10 10:15:09 +00:00
|
|
|
|
});
|
|
|
|
|
|
2011-03-11 08:50:42 +00:00
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<h2>Store path size history (in MB)</h2>
|
2013-01-22 13:41:02 +00:00
|
|
|
|
<div id="placeholder-size" style="width:800px;height:400px;"></div>
|
|
|
|
|
<div id="overview-size" style="margin-left:50px;margin-top:20px;width:600px;height:50px"></div>
|
2011-03-11 08:50:42 +00:00
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$(function() {
|
|
|
|
|
var d = [];
|
|
|
|
|
var ids = [];
|
2012-03-05 20:52:47 +00:00
|
|
|
|
[% FOREACH prevbuild IN prevBuilds %][% IF prevbuild.size != 0 %]
|
|
|
|
|
d.push([[% prevbuild.starttime * 1000 %],[% prevbuild.size / (1024*1024.0) %]]);
|
|
|
|
|
ids[[% prevbuild.starttime * 1000 %]] = [% prevbuild.id %] ;
|
2013-01-22 13:41:02 +00:00
|
|
|
|
[% END %][% END %]
|
2011-03-11 08:50:42 +00:00
|
|
|
|
|
|
|
|
|
var options = {
|
|
|
|
|
xaxis: { mode: "time" },
|
|
|
|
|
selection: { mode: "x" },
|
|
|
|
|
points: { show: true },
|
|
|
|
|
lines: { show: true },
|
|
|
|
|
grid: {
|
|
|
|
|
clickable: true,
|
|
|
|
|
hoverable: true,
|
|
|
|
|
hoverFill: '#444',
|
|
|
|
|
hoverRadius: 4,
|
|
|
|
|
},
|
|
|
|
|
};
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2011-03-11 08:50:42 +00:00
|
|
|
|
|
|
|
|
|
var plot = $.plot($("#placeholder-size"), [d], options);
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2011-03-11 08:50:42 +00:00
|
|
|
|
var overview = $.plot($("#overview-size"), [d], {
|
|
|
|
|
series: {
|
|
|
|
|
lines: { show: true, lineWidth: 1 },
|
|
|
|
|
shadowSize: 0
|
|
|
|
|
},
|
|
|
|
|
xaxis: { ticks: [], mode: "time" },
|
|
|
|
|
yaxis: { ticks: [], min: 0, autoscaleMargin: 0.1 },
|
|
|
|
|
selection: { mode: "x" }
|
|
|
|
|
});
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2011-03-11 08:50:42 +00:00
|
|
|
|
// now connect the two
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2011-03-11 08:50:42 +00:00
|
|
|
|
$("#placeholder-size").bind("plotselected", function (event, ranges) {
|
|
|
|
|
// do the zooming
|
|
|
|
|
plot = $.plot($("#placeholder-size"), [d],
|
|
|
|
|
$.extend(true, {}, options, {
|
|
|
|
|
xaxis: { min: ranges.xaxis.from, max: ranges.xaxis.to }
|
|
|
|
|
}));
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2011-03-11 08:50:42 +00:00
|
|
|
|
// don't fire event on the overview to prevent eternal loop
|
|
|
|
|
overview.setSelection(ranges, true);
|
|
|
|
|
});
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2011-03-11 08:50:42 +00:00
|
|
|
|
$("#overview-size").bind("plotselected", function (event, ranges) {
|
|
|
|
|
plot.setSelection(ranges);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$("#placeholder-size").bind("plotclick", function (e, pos, item) {
|
|
|
|
|
if (item) {
|
|
|
|
|
plot.highlight(item.series, item.datapoint);
|
|
|
|
|
buildid = ids[item.datapoint[0]];
|
|
|
|
|
window.location = "/build/"+buildid;
|
2013-01-22 13:41:02 +00:00
|
|
|
|
}
|
|
|
|
|
});
|
2011-03-11 08:50:42 +00:00
|
|
|
|
});
|
|
|
|
|
|
2010-02-10 10:15:09 +00:00
|
|
|
|
</script>
|
|
|
|
|
|
2013-01-22 13:41:02 +00:00
|
|
|
|
|
2010-02-10 10:15:09 +00:00
|
|
|
|
</div>
|
2010-02-23 13:47:24 +00:00
|
|
|
|
[% END %]
|
2010-02-10 10:15:09 +00:00
|
|
|
|
|
2010-02-05 14:48:22 +00:00
|
|
|
|
</div>
|
2008-11-06 13:40:31 +00:00
|
|
|
|
|
2010-02-05 14:48:22 +00:00
|
|
|
|
<script type="text/javascript">
|
2012-04-12 18:12:07 +00:00
|
|
|
|
$('#tab').tab('show');
|
2010-02-05 14:48:22 +00:00
|
|
|
|
</script>
|
2008-11-11 14:45:33 +00:00
|
|
|
|
|
2008-10-28 10:19:31 +00:00
|
|
|
|
|
2008-11-11 12:54:37 +00:00
|
|
|
|
|
|
|
|
|
[% END %]
|
|
|
|
|
|