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
91741dd0
Commit
91741dd0
authored
Dec 08, 2019
by
Jonston Chan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add after_script timeout details
parent
0123a8ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+11
-0
No files found.
doc/ci/yaml/README.md
View file @
91741dd0
...
...
@@ -310,6 +310,17 @@ job:
-
execute this after my script
```
NOTE:
**Note:**
`after_script`
has a hard-coded timeout of 5 minutes.
See the
[
Allow configurable after_script timeouts proposal
](
https://gitlab.com/gitlab-org/gitlab-runner/issues/2716
)
for updates.
NOTE:
**Note:**
The
`after_script`
timeout does not affect the job's exit code.
If the
`script`
section succeeds and the
`after_script`
times out, the job will
still exit with exit code 0 (success). This does not trigger
`retry: when: always`
.
The pipeline also continues as though no failures have been encountered.
#### YAML anchors for `before_script` and `after_script`
> [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/23005) in GitLab 12.5.
...
...
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