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

fixed errors in steps result property examples#377

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 2 commits intomasterfromsteps-result-finished
Mar 2, 2022
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
7 changes: 4 additions & 3 deletions_docs/codefresh-yaml/advanced-workflows.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -830,7 +830,8 @@ You can now add extra conditions regarding the completion state of specific step
* Pending
* Running

Finished is a shorthand for `success` or `failure` or `skipped`.
Finished is a shorthand for `success` or `failure` or `skipped`. It is only valid when used in [step dependencies]({{site.baseurl}}/docs/codefresh-yaml/advanced-workflows/#single-step-dependencies), and cannot be used in custom conditions.

You can mix and match completion states from any other step in your pipeline. Here are some examples:

{% highlight yaml %}
Expand All@@ -839,7 +840,7 @@ my_step:
when:
condition:
all:
myCondition: steps.MyUnitTests.result == 'error' || steps.MyIntegrationTests.result == 'error'
myCondition: steps.MyUnitTests.result == 'failure' || steps.MyIntegrationTests.result == 'failure'
{% endhighlight %}

{% highlight yaml %}
Expand All@@ -849,7 +850,7 @@ my_step:
condition:
any:
myCondition: steps.MyLoadTesting.result == 'success'
myOtherCondition: steps.MyCleanupStep.result == 'finished'
myOtherCondition: steps.MyCleanupStep.result == 'success'
{% endhighlight %}

You can also use conditions in the success criteria for a parallel step. Here is an example
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp