Commit 68e1d5f6 authored by Russell Dickenson's avatar Russell Dickenson

Merge branch 'eread/more-pre-post-content' into 'master'

Add more information for pre and post

See merge request gitlab-org/gitlab!18773
parents 0b5a8cbb b27db9c6
......@@ -329,6 +329,37 @@ The following stages are available to every pipeline:
User-defined stages are executed after `.pre` and before `.post`.
The order of `.pre` and `.post` cannot be changed, even if defined out of order in `.gitlab-ci.yml`.
For example, the following are equivalent configuration:
- Configured in order:
```yml
stages:
- .pre
- a
- b
- .post
```
- Configured out of order:
```yml
stages:
- a
- .pre
- b
- .post
```
- Not explicitly configured:
```yml
stages:
- a
- b
```
### `stage`
`stage` is defined per-job and relies on [`stages`](#stages) which is defined
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment