maxErrors
The maxErrors directive defines the maximum number of task failures allowed for a process when using the retry error strategy. For example:
process hello {
errorStrategy 'retry'
maxErrors 5
script:
"""
echo 'do this as that .. '
"""
}
In the above example, the run will fail if the hello process accrues more than 5 failures across all of its task executions.
By default, there is no limit. However, the run can still fail if an individual task exceeds the number of retries allowed by the maxRetries directive.
See also: errorStrategy, maxRetries