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

Commitf72414d

Browse files
committed
Update promotion-context-promotion-workflows.md
1 parent436a21f commitf72414d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎_docs/promotions/promotion-context-promotion-workflows.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ When the Promotion Flow is triggered and a product release is created, the promo
8383

8484
#####Triggering subsequent promotion hooks
8585
As the Flow progresses, the promotion mechanism:
86-
* Retrieves the promotion contextfrom the previous hook
87-
* Passes the context automatically to the next hook as input parameters:
88-
* New parameters are added tothe input parameters of the next hook
89-
* For existing parameters, the value ofthe parameter inthe current hook always takes precedence
86+
* Retrieves the promotion contextexported by the previous hook
87+
* Passes thepromotioncontext automatically to the next hook
88+
* If the current hook defines one or more oftheparameters from the promotion context asinput parameters, their values are taken from the context
89+
* If the current hook also exports a promotion context withthesameparameter, the value fromthe current hook’s promotion context overrides the value from the previous context
9090

9191

9292

@@ -124,8 +124,8 @@ This hook performs two main actions:
124124
| --------------| --------------|
125125
|**Two-step DAG structure**| The hook uses a Directed Acyclic Graph (DAG) with two tasks: first`create-issue`, then`set-promotion-context`. The second task depends on the successful creation of the Jira issue.|
126126
|**Jira issue creation**| The`create-issue` task uses a custom container to create a Jira ticket.|
127-
|**Promotion context definition**| After theissue is created, the`set-promotion-context` task creates a JSON object with the full Jira issue URL. This JSON is saved to`/tmp/promotion-context.txt` and exported as the`PROMOTION_CONTEXT` global output.|
128-
|**Sharing information across hooks**| By exporting`PROMOTION_CONTEXT`, later hooks in the same Promotion Flow,like a Slack notification hook, canaccess the Jira issue details.|
127+
|**Promotion context definition**| AftercreatingtheJira issue, the`set-promotion-context` task creates a JSON object with the full Jira issue URL. This JSON is saved to`/tmp/promotion-context.txt` and exported as the`PROMOTION_CONTEXT` global output.|
128+
|**Sharing information across hooks**| By exporting`PROMOTION_CONTEXT`, later hooks in the same Promotion Flow,haveaccess to the Jira issue details.|
129129

130130

131131

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp