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
1cf633be
Commit
1cf633be
authored
Sep 10, 2021
by
Marcel Amirault
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update style of timeout cicd keyword
parent
cca1122a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
5 deletions
+16
-5
doc/ci/yaml/index.md
doc/ci/yaml/index.md
+16
-5
No files found.
doc/ci/yaml/index.md
View file @
1cf633be
...
...
@@ -3403,7 +3403,22 @@ You can specify the number of [retry attempts for certain stages of job executio
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/14887) in GitLab 12.3.
Use
`timeout`
to configure a timeout for a specific job. For example:
Use
`timeout`
to configure a timeout for a specific job. If the job runs for longer
than the timeout, the job fails.
The job-level timeout can be longer than the
[
project-level timeout
](
../pipelines/settings.md#set-a-limit-for-how-long-jobs-can-run
)
.
but can't be longer than the
[
runner's timeout
](
../runners/configure_runners.md#set-maximum-job-timeout-for-a-runner
)
.
**Keyword type**
: Job keyword. You can use it only as part of a job or in the
[
`default:` section
](
#custom-default-keyword-values
)
.
**Possible inputs**
: A period of time written in natural language. For example, these are all equivalent:
-
`3600 seconds`
-
`60 minutes`
-
`one hour`
**Example of `timeout`**
:
```
yaml
build
:
...
...
@@ -3415,10 +3430,6 @@ test:
timeout
:
3h 30m
```
The job-level timeout can exceed the
[
project-level timeout
](
../pipelines/settings.md#set-a-limit-for-how-long-jobs-can-run
)
but can't
exceed the runner-specific timeout.
### `parallel`
> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/21480) in GitLab 11.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