Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

outgoing hooks - variables are not passed into payload #3718

Closed
svandecappelle opened this issue Dec 11, 2018 · 1 comment · Fixed by #3738
Closed

outgoing hooks - variables are not passed into payload #3718

svandecappelle opened this issue Dec 11, 2018 · 1 comment · Fixed by #3738
Assignees

Comments

@svandecappelle
Copy link
Contributor

Hello team CDS,

When trying to call an outgoing hook with this payload:

{
  "git.branch": "{{.git.branch}}",
  "git.hash": "{{.git.hash}}"
}

tried with values: {{.git.branch}}, {{.workflow.root.git.branch}}

Outgoing hook

The value is not send correctly rewritten to the called workflow, see capture.
screenshot_2018-12-11 all_functionnal_tests workflow

Outgoing workflow

screenshot_2018-12-11 pipeline test-cypress 15 git branch ux-manager-cloud-ftests

@yesnault yesnault self-assigned this Dec 13, 2018
yesnault added a commit that referenced this issue Dec 13, 2018
close #3718

Signed-off-by: Yvonnick Esnault <[email protected]>
@yesnault
Copy link
Member

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants