pyjen.plugins.parameterizedbuild module

Implementation for the parameterized build plugin

class pyjen.plugins.parameterizedbuild.ParameterizedBuild(node)[source]

Bases: pyjen.utils.xml_plugin.XMLPlugin

Plugin which allows custom build parameters to be passed to a job

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

Factory method for this class

Parameters

params (list of XMLPlugin) – List of parameters to add to this build property Each element must be associated with a parameter type supported by the parameterized build plugin

Returns

an instance of this class

Return type

ParameterizedBuild

property parameters

list of the build parameters associated with the job

Type

list (XMLPlugin)

pyjen.plugins.parameterizedbuild.PluginClass

alias of pyjen.plugins.parameterizedbuild.ParameterizedBuild