Commit b27db9c6 authored by Evan Read's avatar Evan Read Committed by Russell Dickenson

Add more information for pre and post

parent 0b5a8cbb
...@@ -329,6 +329,37 @@ The following stages are available to every pipeline: ...@@ -329,6 +329,37 @@ The following stages are available to every pipeline:
User-defined stages are executed after `.pre` and before `.post`. 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`
`stage` is defined per-job and relies on [`stages`](#stages) which is defined `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