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
5221df2d
Commit
5221df2d
authored
Sep 01, 2020
by
Chloe Whitestone
Committed by
Marcel Amirault
Sep 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs: add note that `if` clauses won't accept bash
parent
738ceb3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+2
-0
No files found.
doc/ci/yaml/README.md
View file @
5221df2d
...
...
@@ -1335,6 +1335,8 @@ expression string per rule, rather than an array of them. Any set of expressions
evaluated can be
[
conjoined into a single expression
](
../variables/README.md#conjunction--disjunction
)
by using
`&&`
or
`||`
, and use
the
[
variable matching syntax
](
../variables/README.md#syntax-of-environment-variable-expressions
)
.
Unlike variables in
[
`script`
](
../variables/README.md#syntax-of-environment-variables-in-job-scripts
)
sections, variables in rules expressions are always formatted as
`$VARIABLE`
.
`if:`
clauses are evaluated based on the values of
[
predefined environment variables
](
../variables/predefined_variables.md
)
or
[
custom environment variables
](
../variables/README.md#custom-environment-variables
)
.
...
...
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