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

Commit9588a74

Browse files
Mention hooks in post step operations
1 parent74fdba6 commit9588a74

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎_docs/codefresh-yaml/post-step-operations.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ redirect_from:
66
-/docs/post-step-operations/
77
toc:true
88
---
9-
Post-step operations are a set of optional predefined processes that can be configured on any step. These operations will be executed once the step has completed. The post-step operations allow you to annotate your builds, images and pipelines with extra metadata.
9+
Post-step operations are a set of optional predefined processes that can be configured on any step. These operations will be executed once the step has completed. The post-step operations allow you to annotate your builds, images and pipelines with extra metadata or run other steps.
1010

1111

1212
##Result Aware Post-Step Operations
@@ -49,6 +49,7 @@ step_name:
4949

5050
-[Image Metadata]({{site.baseurl}}/docs/docker-registries/metadata-annotations/)
5151
-[Custom Annotations]({{site.baseurl}}/docs/codefresh-yaml/annotations/)
52+
-[Hooks]({{site.baseurl}}/docs/codefresh-yaml/hooks/)
5253

5354
##Example
5455

@@ -78,7 +79,7 @@ run_tests:
7879

7980
##Running other steps
8081

81-
Post operations are only for metadata. If you want to run a step when another step fails or succeeds you need to use[conditional execution of steps]({{site.baseurl}}/docs/codefresh-yaml/conditional-execution-of-steps/) and the`fail_fast` property.
82+
Post operations are only for metadata. If you want to run a step when another step fails or succeeds you need to use[conditional execution of steps]({{site.baseurl}}/docs/codefresh-yaml/conditional-execution-of-steps/) and the`fail_fast` property or[step hooks]({{site.baseurl}}/docs/codefresh-yaml/hooks/)
8283

8384
{% highlight yaml %}
8485
{% raw %}
@@ -103,7 +104,7 @@ print_error_message:
103104

104105
In this example the step`print_error_message` will only run if step`run_tests` has failed.
105106

106-
See also[advanced workflows]({{site.baseurl}}/docs/codefresh-yaml/advanced-workflows/#single-step-dependencies).
107+
See also[advanced workflows]({{site.baseurl}}/docs/codefresh-yaml/advanced-workflows/#single-step-dependencies) and[Pipeline/Step hooks]({{site.baseurl}}/docs/codefresh-yaml/hooks/).
107108

108109
##What to read next
109110

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp