pyjen.plugins.buildblocker module
Interfaces for interacting with Build Blockers job property plugin
- class pyjen.plugins.buildblocker.BuildBlockerProperty(node)[source]
Bases:
pyjen.utils.xml_plugin.XMLPlugin
Wrapper for Build Blocker job properties
https://wiki.jenkins-ci.org/display/JENKINS/Build+Blocker+Plugin
- Parameters
node (xml.etree.ElementTree.Element) – XML node with the decoded XML data associated with a plugin
- LEVEL_TYPES = ('GLOBAL', 'NODE')
- QUEUE_SCAN_TYPES = ('DISABLED', 'ALL', 'BUILDABLE')
- 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(patterns)[source]
Factory method used to instantiate an instance of this plugin
- property level
the scope of the blocked job settings. One of BuildBlockerProperty.LEVEL_TYPES
- Type
- pyjen.plugins.buildblocker.PluginClass