pyjen.plugins.nullscm module

SCM properties of Jenkins jobs with no source control configuration

class pyjen.plugins.nullscm.NullSCM(node)[source]

Bases: pyjen.utils.xml_plugin.XMLPlugin

SCM plugin for Jobs with no source control configurations

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

classmethod instantiate()[source]

Factory method used to construct instances of this class

Returns

instance of this class

Return type

NullSCM

pyjen.plugins.nullscm.PluginClass

alias of pyjen.plugins.nullscm.NullSCM