[% WRAPPER layout.tt title="Search results" %] [% PROCESS common.tt %] [% matched = 0 %] [% BLOCK renderBuildSearch %] [% IF builds.size > 0 %]

The following builds match your query:[% IF builds.size > limit %] (first [% limit %] results only)[% END %]

[% INCLUDE renderBuildList %] [% END %] [% END; %] [% IF projects.size > 0; matched = 1 %]

The following projects match your query:

[% FOREACH p IN projects %] [% END %]
ProjectDescription
[% INCLUDE renderProjectName project=p.name inRow=1 %] [% HTML.escape(p.description) %]
[% END %] [% IF jobsets.size > 0; matched = 1 %]

The following jobsets match your query:

[% FOREACH j IN jobsets %] [% END %]
JobsetDescription
[% INCLUDE renderFullJobsetName project=j.get_column('project') jobset=j.name inRow=1 %] [% HTML.escape(j.description) %]
[% END %] [% IF jobs.size > 0; matched = 1 %]

The following jobs match your query:[% IF jobs.size > limit %] (first [% limit %] results only)[% END %]

[% FOREACH j IN jobs %] [% END %]
Job
[% INCLUDE renderFullJobName project=j.get_column('project') jobset=j.get_column('jobset') job=j.name inRow=1 %]
[% END %] [% INCLUDE renderBuildSearch %] [% INCLUDE renderBuildSearch builds=buildsdrv %] [% IF builds.size > 0 || buildsdrv.size > 0 ; matched = 1 ; END %] [% IF !matched %]
Sorry! Nothing matches your query.
[% END %] [% END %]