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 paramters to be passed to a job

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

Factory method for this class

Parameters

params (list) – 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

parameters

Gets a list of the build parameters associated with this property

Return type

list of build parameters

pyjen.plugins.parameterizedbuild.PluginClass

alias of pyjen.plugins.parameterizedbuild.ParameterizedBuild