List View

The view list module handles creating Jenkins List views.

To create a list view specify list in the view-type attribute to the List View definition.

View Parameters:
 
  • name (str): The name of the view.
  • view-type (str): The type of view.
  • description (str): A description of the view. (default ‘’)
  • filter-executors (bool): Show only executors that can execute the included views. (default false)
  • filter-queue (bool): Show only included jobs in builder queue. (default false)
  • job-name (list): List of jobs to be included.
  • job-filters (dict): Job filters to be included.
    most-recent:
    • max-to-include (int): Maximum number of jobs to include. (default 0)
    • check-start-time (bool): Check job start time (default false)
  • columns (list): List of columns to be shown in view.
  • regex (str): . Regular expression for selecting jobs (optional)
  • recurse (bool): Recurse in subfolders.(default false)
  • status-filter (bool): Filter job list by enabled/disabled status. (optional)

Example:

name: list-view-name01
view-type: list
description: 'Sample description'
filter-executors: true
filter-queue: true
job-name:
    - job-name-1
    - job-name-2
    - job-name-3
columns:
    - status
    - weather
    - job
    - last-success
    - last-failure
    - last-duration
    - build-button
    - last-stable
recurse: true
status-filter: false

Example:

name: regex-example
view-type: list
description: 'description'
columns:
    - status
    - weather
    - job
    - last-success
    - last-failure
    - last-duration
regex: (?!test.*).*