pyjen.plugins.runcondition_and module
Condition for the run condition plugin that performs a logical AND operation on other build conditions
- class pyjen.plugins.runcondition_and.AndCondition(node)[source]
Bases:
pyjen.utils.xml_plugin.XMLPlugin
Build condition that combines 2 or more other conditions with a logical AND operation. The associated operation using this condition will only run if all of the contained conditions result in a “true” value.
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
- 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
- Return type
- classmethod instantiate(terms)[source]
Creates a new instance of this condition
- pyjen.plugins.runcondition_and.PluginClass