mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-03 11:52:36 +01:00
core,execution: Add run skipping on job failure
Add a global configuration parameter ``bail_on_job_failure`` that allows all remaining jobs in a run to be skipped should a job fail its initial execution and its retries. This is by default disabled.
This commit is contained in:
committed by
Marc Bonnici
parent
66e220d444
commit
971289698b
@@ -725,6 +725,17 @@ class RunConfiguration(Configuration):
|
||||
failed, but continue attempting to run others.
|
||||
'''
|
||||
),
|
||||
ConfigurationPoint(
|
||||
'bail_on_job_failure',
|
||||
kind=bool,
|
||||
default=False,
|
||||
description='''
|
||||
When a job fails during its run phase, WA will attempt to retry the
|
||||
job, then continue with remaining jobs after. Setting this to
|
||||
``True`` means WA will skip remaining jobs and end the run if a job
|
||||
has retried the maximum number of times, and still fails.
|
||||
'''
|
||||
),
|
||||
ConfigurationPoint(
|
||||
'allow_phone_home',
|
||||
kind=bool, default=True,
|
||||
|
Reference in New Issue
Block a user