pyjen.plugins.flexiblepublish module¶
Primitives for operating on job publishers of type ‘Flexible Publisher’
- class pyjen.plugins.flexiblepublish.ConditionalPublisher(node)[source]¶
Bases: pyjen.utils.plugin_base.PluginBase
Interface to a single ‘conditional’ publisher contained within the flexible publish plugin
Parameters: node (ElementTree.Element) – XML node defining the settings for a this plugin - publisher[source]¶
Retrieves the action to be performed when the conditions of this publisher are met
Returns: list of PyJen objects which control each conditional action to be performed Return type: list of PyJen objects, typically one or more plugins supported by the Flexible Publish plugin Return None if an publisher plugin not currently supported by PyJen is being used
- type = 'org.jenkins__ci.plugins.flexible__publish.ConditionalPublisher'¶
- class pyjen.plugins.flexiblepublish.FlexiblePublisher(node)[source]¶
Bases: pyjen.utils.plugin_base.PluginBase
Publisher plugin enabling conditional execution of post-build steps in a Jenkins job
Parameters: node (ElementTree.Element) – XML node defining the settings for a this plugin - actions[source]¶
Gets the list of publishers associated with this instance of the flexible publisher
Returns: list of publishers associated with this instance of the flexible publisher Return type: list of Flexible Publish publishers such as ConditionalPublisher
- type = 'org.jenkins__ci.plugins.flexible__publish.FlexiblePublisher'¶