Commit d45c4f52 authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'jyavorska-master-patch-94066' into 'master'

Add note about using rules with only/except

See merge request gitlab-org/gitlab!26861
parents 60844cf9 2bd55078
...@@ -937,6 +937,9 @@ This could result in some unexpected behavior, including: ...@@ -937,6 +937,9 @@ This could result in some unexpected behavior, including:
`rules` allows for a list of individual rule objects to be evaluated `rules` allows for a list of individual rule objects to be evaluated
*in order*, until one matches and dynamically provides attributes to the job. *in order*, until one matches and dynamically provides attributes to the job.
Note that `rules` cannot be used in combination with `only/except` since it is intended
to replace that functionality. If you attempt to do this the linter will return a
`key may not be used with rules` error.
Available rule clauses include: Available rule clauses include:
......
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