pyjen.plugins.runcondition_not module

Condition for the run condition plugin that inverts the logical result of another build condition.

class pyjen.plugins.runcondition_not.NotCondition(node)[source]

Bases: pyjen.utils.xml_plugin.XMLPlugin

Condition for the run condition plugin that inverts the logical result of another build condition.

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

static get_friendly_name()[source]

Gets 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]

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

Factory method that constructs an instance of this class

Parameters

condition – Any PyJen plugin compatible with the Run Condition plugin

Return type

NotCondition

pyjen.plugins.runcondition_not.PluginClass

alias of pyjen.plugins.runcondition_not.NotCondition