When specifying command automatic retry attributes, what the meaning of the order in which I specify the different criteria? If multiple entries match for a given job, will the last match, first match, most specific match apply? If “most specific”, how is this measured?
Concretely, I want to
- Retry 2 times when the agent went away
- Retry once for every other kind of failure.
Do I specify the exit_status: "*"
before or after the agent rules?
We currently have it before which seems to work? I tried and failed to find an authoritative answer so I wanted to ask explicitly.