* For products that are directories (like manuals), allow a default
suffix other than index.html to be declared. E.g. if a build does echo "doc manual $out manual.html" >> $out/nix-support/hydra-build-products the default link for the product is http://localhost:3000/build/417/download/1/manual.html but other files are also accessible, e.g. http://localhost:3000/build/417/download/1/style.css
This commit is contained in:
@ -42,7 +42,7 @@
|
||||
[% FOREACH build IN builds -%]
|
||||
<tr class="clickable
|
||||
[% IF showSchedulingInfo -%]
|
||||
[% IF build.schedulingInfo.busy %]runningBuild[% END %] [% IF build.schedulingInfo.disabled == 1 || build.project.enabled == 0 %]disabledBuild[% END -%]
|
||||
[% IF build.schedulingInfo.busy %]runningBuild[% ELSIF build.schedulingInfo.disabled == 1 || build.project.enabled == 0 %]disabledBuild[% END %]
|
||||
[% ELSE -%]
|
||||
[% IF odd %] odd [% END; odd = !odd -%]
|
||||
[% END %]"
|
||||
|
@ -6,7 +6,9 @@
|
||||
|
||||
[% FOREACH product IN build.buildproducts -%]
|
||||
|
||||
[% uri = c.uri_for('/build' build.id 'download' product.productnr product.name) %]
|
||||
[% uri = "${c.uri_for('/build' build.id 'download' product.productnr)}"
|
||||
_ (product.name ? "/" _ product.name : "")
|
||||
_ (product.defaultpath ? "/" _ product.defaultpath : "") %]
|
||||
|
||||
[% SWITCH product.type %]
|
||||
|
||||
|
Reference in New Issue
Block a user