mirror of
https://github.com/ansible/awx.git
synced 2026-02-17 03:00:04 -03:30
Enforce wfj to ignore canceled jobs.
This commit is contained in:
@@ -60,6 +60,8 @@ class WorkflowDAG(SimpleDAG):
|
|||||||
# Job is about to run or is running. Hold our horses and wait for
|
# Job is about to run or is running. Hold our horses and wait for
|
||||||
# the job to finish. We can't proceed down the graph path until we
|
# the job to finish. We can't proceed down the graph path until we
|
||||||
# have the job result.
|
# have the job result.
|
||||||
|
elif job.status == 'canceled':
|
||||||
|
continue
|
||||||
elif job.status not in ['failed', 'error', 'successful']:
|
elif job.status not in ['failed', 'error', 'successful']:
|
||||||
return False
|
return False
|
||||||
elif job.status in ['failed', 'error']:
|
elif job.status in ['failed', 'error']:
|
||||||
|
|||||||
Reference in New Issue
Block a user