Merge "publishers: deprecate "evenIfDownstreamUnstable" in join-trigger"
This commit is contained in:
commit
84aed0ad4e
@ -3493,11 +3493,11 @@ def join_trigger(registry, xml_parent, data):
|
||||
Trigger a job after all the immediate downstream jobs have completed.
|
||||
Requires the Jenkins :jenkins-plugins:`Join Plugin <join>`.
|
||||
|
||||
:arg bool even-if-unstable: if true jobs will trigger even if some
|
||||
downstream jobs are marked as unstable (default false)
|
||||
:arg list projects: list of projects to trigger
|
||||
:arg list publishers: list of triggers from publishers module that
|
||||
defines projects that need to be triggered
|
||||
:arg bool even-if-unstable: if true jobs will trigger even if some
|
||||
downstream jobs are marked as unstable (default false) (DEPRECATED)
|
||||
|
||||
Example:
|
||||
|
||||
@ -3515,8 +3515,9 @@ def join_trigger(registry, xml_parent, data):
|
||||
for edited_node in create_publishers(registry, pub):
|
||||
publishers.append(edited_node)
|
||||
|
||||
unstable = str(data.get("even-if-unstable", "false")).lower()
|
||||
XML.SubElement(jointrigger, "evenIfDownstreamUnstable").text = unstable
|
||||
unstable = str(data.get("even-if-unstable", "")).lower()
|
||||
if unstable:
|
||||
XML.SubElement(jointrigger, "evenIfDownstreamUnstable").text = unstable
|
||||
|
||||
|
||||
def jabber(registry, xml_parent, data):
|
||||
|
Loading…
x
Reference in New Issue
Block a user