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

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

Factory method for creating a new instances of this class

Parameters

triggers (list) – List of build trigger configuration objects

Return type

ParameterizedBuildTrigger

triggers

list of trigger operations defined for this instance of the plugin

Return type

list of BuildTriggerConfig objects

pyjen.plugins.paramtrigger.PluginClass

alias of pyjen.plugins.paramtrigger.ParameterizedBuildTrigger