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
3805b86e
Commit
3805b86e
authored
Feb 22, 2022
by
Marcel Amirault
Committed by
Nick Gaskill
Feb 22, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a note that you can't use needs with include rules
parent
4ab1ad04
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
doc/ci/yaml/includes.md
doc/ci/yaml/includes.md
+5
-0
No files found.
doc/ci/yaml/includes.md
View file @
3805b86e
...
...
@@ -370,6 +370,11 @@ You can only use the following rules with `include` (and only with [certain vari
`rules`
keyword
`changes`
is not supported.
You cannot use
[
`needs:`
](
index.md#needs
)
to create a job dependency that points to
a job added with
`include:local:rules`
. When the configuration is checked for validity,
GitLab returns
`undefined need: <job-name>`
. An
[
issue exists
](
https://gitlab.com/gitlab-org/gitlab/-/issues/345377
)
to improve this behavior.
## Use `include:local` with wildcard file paths
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/25921) in GitLab 13.11.
...
...
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