pyjen.plugins.paramtrigger module

Jenkins post-build publisher of type Parameterized Build Trigger

class pyjen.plugins.paramtrigger.ParameterizedBuildTrigger(node)[source]

Bases: pyjen.utils.xml_plugin.XMLPlugin

Custom job publisher that supports triggering other Jenkins jobs which require 1 or more custom build parameters

https://plugins.jenkins.io/parameterized-trigger

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(triggers)[source]

Factory method for creating a new instances of this class

Parameters

triggers (list of XMLPlugin) – List of build trigger configuration objects

Returns

instance of this class

Return type

ParameterizedBuildTrigger

property triggers

list of trigger operations defined for this instance of the plugin

Type

list (BuildTriggerConfig)

pyjen.plugins.paramtrigger.PluginClass

alias of pyjen.plugins.paramtrigger.ParameterizedBuildTrigger