summaryrefslogtreecommitdiff
path: root/spec/frontend/editor/schema/ci/json_tests/positive_tests/allow_failure.json
blob: 44d42116c1ae79a7c1f975f6da9d2ee5ebe3afdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  "job1": {
    "stage": "test",
    "script": ["execute_script_that_will_fail"],
    "allow_failure": true
  },
  "job2": {
    "script": ["exit 1"],
    "allow_failure": {
      "exit_codes": 137
    }
  },
  "job3": {
    "script": ["exit 137"],
    "allow_failure": {
      "exit_codes": [137, 255]
    }
  }
}