Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
fc0c6834
Commit
fc0c6834
authored
Jul 14, 2020
by
Anatoli Babenia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs: Simplify `rules` description
parent
d2440650
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+4
-5
No files found.
doc/ci/yaml/README.md
View file @
fc0c6834
...
...
@@ -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.
The
`rules`
keyword is a way to set job policies that determine whether or not jobs
are added to pipelines.
The
`rules`
keyword can be used to include or exclude jobs in pipelines.
A list of individual rule clauses are evaluated
*in order*
, until one matches. When
matched, the job is either included or excluded from the pipeline, depending
on the configuration.
If included, the job also has
[
certain attributes
](
#rules-attributes
)
Rules are evaluated
*in order*
until the first match. When matched, the job
is either included or excluded from the pipeline, depending on the configuration.
If included, the job also has
[
certain attributes
](
#rules-attributes
)
added to it.
CAUTION:
**Caution:**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment