Skip to content

Commit

Permalink
Add retry for AMD jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
khluu authored Dec 3, 2024
1 parent 4e74317 commit b3c86bb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scripts/test-template-aws.j2
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ steps:
limit: 2
- exit_status: -10 # Agent was lost
limit: 2
- exit_status: 1 # Machine occasionally fail
limit: 2
agents:
queue: amd-cpu

Expand All @@ -204,6 +206,15 @@ steps:
{% else %}
soft_fail: false
{% endif %}
retry:
automatic:
- exit_status: -1 # Agent was lost
limit: 2
- exit_status: -10 # Agent was lost
limit: 2
- exit_status: 1 # Machine occasionally fail
limit: 2

{% endif %}
{% endfor %}

Expand Down

0 comments on commit b3c86bb

Please sign in to comment.