Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit09ae263

Browse files
author
Lukas Goodfellow
authored
Update conditional-execution-of-steps.md (codefresh-io#323)
need "" around variables or conditions errors with Invalid identifier:ZD 9882
1 parent6490e36 commit09ae263

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎_docs/codefresh-yaml/conditional-execution-of-steps.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ Alternatively, you can use more advanced condition expressions.
7272

7373
This follows the standard[condition expression syntax]({{site.baseurl}}/docs/codefresh-yaml/condition-expression-syntax/). In this case, you can choose to execute if```all``` expression conditions evaluate to```true```, or to execute if```any``` expression conditions evaluate to```true```.
7474

75+
>Note: Use "" around variables with text to avoid errors in processing the conditions. ex: "${{CF_COMMIT_MESSAGE}}"
76+
7577
Here are some examples. Execute if the string```[skip ci]``` is not part of the main repository commit message AND if the branch is```master```
7678

7779
`all-conditions.yml`
@@ -150,4 +152,4 @@ Try running the pipeline above and see how it behaves when a variable called `MY
150152
*[Variables]({{site.baseurl}}/docs/codefresh-yaml/variables/)
151153
*[Condition syntax]({{site.baseurl}}/docs/codefresh-yaml/condition-expression-syntax/)
152154
*[Pull Requests and Branches]({{site.baseurl}}/docs/ci-cd-guides/pull-request-branches/)
153-
*[Pipeline/Step hooks]({{site.baseurl}}/docs/codefresh-yaml/hooks/)
155+
*[Pipeline/Step hooks]({{site.baseurl}}/docs/codefresh-yaml/hooks/)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp