Commit fc0c6834 authored by Anatoli Babenia's avatar Anatoli Babenia

Docs: Simplify `rules` description

parent d2440650
...@@ -1069,12 +1069,11 @@ the `.template` job, and uses the `alpine` Docker image as defined in the local ...@@ -1069,12 +1069,11 @@ the `.template` job, and uses the `alpine` Docker image as defined in the local
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/27863) in GitLab 12.3. > [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/27863) in GitLab 12.3.
The `rules` keyword is a way to set job policies that determine whether or not jobs The `rules` keyword can be used to include or exclude jobs in pipelines.
are added to pipelines.
A list of individual rule clauses are evaluated *in order*, until one matches. When Rules are evaluated *in order* until the first match. When matched, the job
matched, the job is either included or excluded from the pipeline, depending is either included or excluded from the pipeline, depending on the configuration.
on the configuration. If included, the job also has [certain attributes](#rules-attributes) If included, the job also has [certain attributes](#rules-attributes)
added to it. added to it.
CAUTION: **Caution:** CAUTION: **Caution:**
......
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