github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/gitlab/yaml/testdata/job_keywords/allow_failure/example-2.yaml (about) 1 # https://docs.gitlab.com/ee/ci/yaml/#allow_failureexit_codes 2 3 test_job_1: 4 script: 5 - echo "Run a script that results in exit code 1. This job fails." 6 - exit 1 7 allow_failure: 8 exit_codes: 137 9 10 test_job_2: 11 script: 12 - echo "Run a script that results in exit code 137. This job is allowed to fail." 13 - exit 137 14 allow_failure: 15 exit_codes: 16 - 137 17 - 255