Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
8b0989b3
Commit
8b0989b3
authored
Jan 28, 2020
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document missing job failure reasons
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
658809ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
8 deletions
+20
-8
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+6
-0
spec/lib/gitlab/ci/config/entry/retry_spec.rb
spec/lib/gitlab/ci/config/entry/retry_spec.rb
+14
-8
No files found.
doc/ci/yaml/README.md
View file @
8b0989b3
...
...
@@ -2521,6 +2521,12 @@ Possible values for `when` are:
-
`runner_system_failure`
: Retry if there was a runner system failure (e.g. setting up the job failed).
-
`missing_dependency_failure`
: Retry if a dependency was missing.
-
`runner_unsupported`
: Retry if the runner was unsupported.
-
`stale_schedule`
: Retry if a delayed job could not be executed.
-
`job_execution_timeout`
: Retry if the script exceeded the maximum execution time set for the job.
-
`archived_failure`
: Retry if the job is archived and cannot be run.
-
`unmet_prerequisites`
: Retry if the job failed to complete prerequisite tasks.
-
`scheduler_failure`
: Retry if the scheduler failed to assign the job to a runner.
-
`data_integrity_failure`
: Retry if there was a structural integrity problem detected.
### `timeout`
...
...
spec/lib/gitlab/ci/config/entry/retry_spec.rb
View file @
8b0989b3
...
...
@@ -95,14 +95,20 @@ describe Gitlab::Ci::Config::Entry::Retry do
# values are valid. If they are not it means the documentation and this
# array must be updated.
RETRY_WHEN_IN_DOCUMENTATION
=
%w[
always
unknown_failure
script_failure
api_failure
stuck_or_timeout_failure
runner_system_failure
missing_dependency_failure
runner_unsupported
always
unknown_failure
script_failure
api_failure
stuck_or_timeout_failure
runner_system_failure
missing_dependency_failure
runner_unsupported
stale_schedule
job_execution_timeout
archived_failure
unmet_prerequisites
scheduler_failure
data_integrity_failure
]
.
freeze
RETRY_WHEN_IN_DOCUMENTATION
.
each
do
|
reason
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment