Commit b9a2c291 authored by Marcel Amirault's avatar Marcel Amirault Committed by Suzanne Selhorn

Update examples for rules

The example rules may cause duplicate
pipelines and don't always make things
clear, so update for clarity and prevent
doubled pipelines if the examples are
copied as-is.
parent 120d4147
...@@ -207,7 +207,7 @@ The variable names begin with the `CI_MERGE_REQUEST_` prefix. ...@@ -207,7 +207,7 @@ The variable names begin with the `CI_MERGE_REQUEST_` prefix.
### Two pipelines created when pushing to a merge request ### Two pipelines created when pushing to a merge request
If you are experiencing duplicated pipelines when using `rules`, take a look at If you are experiencing duplicated pipelines when using `rules`, take a look at
the [key details when using `rules`](../yaml/README.md#key-details-when-using-rules), the [important differences between `rules` and `only`/`except`](../yaml/README.md#differences-between-rules-and-onlyexcept),
which will help you get your starting configuration correct. which will help you get your starting configuration correct.
If you are seeing two pipelines when using `only/except`, please see the caveats If you are seeing two pipelines when using `only/except`, please see the caveats
......
This diff is collapsed.
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