mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 12:20:45 -03:30
stop DNR propogation on always path
* This makes sure DNR propogation stops when a job is successful, down an always path
This commit is contained in:
parent
ff6db37a95
commit
b4fc585495
@ -129,7 +129,9 @@ class WorkflowDAG(SimpleDAG):
|
||||
parent_run_path = True
|
||||
|
||||
elif p.job and p.job.status == 'successful':
|
||||
if n in self.get_dependencies(p, 'success_nodes'):
|
||||
children_success = self.get_dependencies(p, 'success_nodes')
|
||||
children_always = self.get_dependencies(p, 'always_nodes')
|
||||
if n in children_success or n in children_always:
|
||||
parent_run_path = True
|
||||
|
||||
elif p.job and p.job.status == 'failed':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user