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’

static get_jenkins_plugin_name()[source]

Gets 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

Return type

str

include_regex

regular filter for jobs to be shown in this section

Return 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

Return type

pyjen.plugins.sectionedview_listsection.ListViewSection

name

Gets the title text of this section

Return type

str

pyjen.plugins.sectionedview_listsection.PluginClass

alias of pyjen.plugins.sectionedview_listsection.ListViewSection