pyjen.plugins.sectionedview_textsection module

Primitives for controlling plain text view sub-sections on a sectioned view

This is a plugin supported by the SectionedView plugin

pyjen.plugins.sectionedview_textsection.PluginClass

alias of pyjen.plugins.sectionedview_textsection.TextSection

class pyjen.plugins.sectionedview_textsection.TextSection(node)[source]

Bases: pyjen.utils.xml_plugin.XMLPlugin

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

Sections of this type contain simple descriptive text

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

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_textsection.TextSection

name

Gets the title text of this section

Return type

str