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

Update conditional-execution-of-steps.md#323

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
kostis-codefresh merged 1 commit intomasterfromlukasgoodfellow-patch-1
Sep 10, 2021
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion_docs/codefresh-yaml/conditional-execution-of-steps.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -72,6 +72,8 @@ Alternatively, you can use more advanced condition expressions.

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```.

> Note: Use "" around variables with text to avoid errors in processing the conditions. ex: "${{CF_COMMIT_MESSAGE}}"

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```

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

[8]ページ先頭

©2009-2025 Movatter.jp