Commit 98569488 authored by Jason Lenny's avatar Jason Lenny

Apply suggestion to doc/ci/merge_request_pipelines/index.md

parent 42c9e397
...@@ -61,7 +61,7 @@ The same tag is shown on the pipeline's details: ...@@ -61,7 +61,7 @@ The same tag is shown on the pipeline's details:
The behavior of the `only: merge_requests` rule is such that _only_ jobs with The behavior of the `only: merge_requests` rule is such that _only_ jobs with
that rule are run in the context of a merge request; no other jobs will be run. that rule are run in the context of a merge request; no other jobs will be run.
This behavior may not be intuitive when you want all of your jobs to run _except_ However, you may what to reverse this behaviour, having all of your jobs to run _except_
for one or two. Consider the following pipeline, with jobs A B and C. If you want for one or two. Consider the following pipeline, with jobs A B and C. If you want
all pipelines to always run `A` and `B`, but only want `C` to run for a merge request, all pipelines to always run `A` and `B`, but only want `C` to run for a merge request,
you can configure your `.gitlab-ci.yml` file as follows: you can configure your `.gitlab-ci.yml` file as follows:
......
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