Categorized View¶
The view category module handles creating Jenkins Categorized views.
To create a categorized view specify categorized in the view-type attribute
to the Categorized View definition.
Requires the Jenkins Categorized Views.
Inherits paraemeters from the List View definition.
- View Parameters:
name (str): The name of the view
view-type (str): Set to categorized
regex_to_ignore_on_color_computing (str): The regex of jobs to ignore when computing color and status
categorization_criteria (list): A list dictionaries for the different categorization criteria
The entries in categorization criteria default to grouping_rule.
- GroupingRule Parameters:
type (str): The type (“grouping_rule”)
group_regex (str): The regex for grouping items
naming_rule (str): The naming rule
use_display_name (bool): If the display name should be used for the group
Example:
name: categorized-view-minimal view-type: categorized
Example:
name: categorized-view-full view-type: categorized regex_to_ignore_on_color_computing: '*test*' categorization_criteria: - type: grouping_rule group_regex: 'A*' naming_rule: 'A' use_display_name: true
- class view_categorized.Categorized(registry)¶