1 .. _lf-global-jjb-views:
10 JJB view-templates provides a way to manage Jenkins views through code. Using
11 view-templates we can define common views configuration that are interesting
14 We recommend creating separate project sections for views apart from job
15 configuration such that job configuration does not overlap with the view
33 - '{project-name}-{seq}'
44 - '{project-name}-{seq}'
53 name: '{project-name}-{seq}'
59 Groups all jobs owned by a project under one view by capturing jobs with the
60 prefix of ``project-name``.
62 This view uses the following columns:
83 :project-name: The name of the project utilizing the view.
87 :view-filter-executors: View filter executor. (default: false)
88 :view-filter-queue: View filter queue. (default: false)
89 :view-recurse: View recurse. (default: false)
93 .. literalinclude:: ../../.jjb-test/lf-project-view.yaml
100 Groups all jobs owned by a project under one view by capturing jobs with the
101 prefix of ``project-name``.
103 This view uses the following columns:
122 :Required parameters:
124 :view-name: The name of the view.
125 :view-regex: Regex to match the jobs.
127 :Optional parameters:
129 :view-filter-executors: View filter executor. (default: false)
130 :view-filter-queue: View filter queue. (default: false)
131 :view-recurse: View recurse. (default: false)
135 .. literalinclude:: ../../.jjb-test/lf-common-view.yaml
142 View template that loads columns useful for CSIT jobs.
144 This view uses the following columns:
162 :Required parameters:
164 :view-name: The name of the view.
165 :view-regex: Regex to match the jobs.
167 :Optional parameters:
169 :view-description: View description. (default: 'CSIT Jobs.')
170 :view-filter-executors: View filter executor. (default: false)
171 :view-filter-queue: View filter queue. (default: false)
172 :view-recurse: View recurse. (default: false)
176 .. literalinclude:: ../../.jjb-test/lf-csit-view.yaml