pyjen.plugins.sectionedview_listsection module

Primitives for controlling list view sub-sections on a sectioned view

This is a plugin supported by the SectionedView plugin

class pyjen.plugins.sectionedview_listsection.ListViewSection(node)[source]

Bases: pyjen.utils.xml_plugin.XMLPlugin

One of several ‘section’ types defined for a sectioned view

Represents sections of type ‘ListView’

Parameters

node (xml.etree.ElementTree.Element) – XML node with the decoded XML data associated with a plugin

static get_jenkins_plugin_name()[source]

str: the name of the Jenkins plugin associated with this PyJen plugin

This static method is used by the PyJen plugin API to associate this class with a specific Jenkins plugin, as it is encoded in the config.xml

property include_regex

regular filter for jobs to be shown in this section

Type

str

classmethod instantiate(section_name)[source]

Factory method for creating a new Git SCM code block

Parameters

section_name (str) – Text to appear at the top of the section

Returns

instance of this class

Return type

ListViewSection

property name

the title text of this section

Type

str

pyjen.plugins.sectionedview_listsection.PluginClass

alias of pyjen.plugins.sectionedview_listsection.ListViewSection