pyjen.plugins.runcondition_always module

Condition for the run condition plugin that will always produce a true result

class pyjen.plugins.runcondition_always.AlwaysRun(node)[source]

Bases: pyjen.utils.xml_plugin.XMLPlugin

Conditional build step that will always produce a true result

https://plugins.jenkins.io/run-condition

Parameters

node (xml.etree.ElementTree.Element) – XML node with the decoded XML data associated with a plugin

static get_friendly_name()[source]
Returns

The user friendly display name for this condition. This typically reflects the text found in the Jenkins UI for the condition

Return type

str

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

Factory method used to construct an instance of this class

Returns

instance of this class

Return type

AlwaysRun

pyjen.plugins.runcondition_always.PluginClass

alias of pyjen.plugins.runcondition_always.AlwaysRun