Open nkuacac opened 1 week ago
steps: - try: - description: "" script: ... outputs: - name: result value: (json_parse($stdout).status.result) - try: - description: "use outputs_result to get before step result" apply: bindings: - name: get_from_before_step value: ($outputs_result)
type StepProcessor interface { Run(context.Context, namespacer.Namespacer, engine.Context, engine.Context) **engine.Context** }
func (p *stepProcessor) Run(ctx context.Context, namespacer namespacer.Namespacer, tc engine.Context, testTc engine.Context) engine.Context { ... for k, v := range outputs { tc = tc.WithBinding(ctx, k, v) **testTc = testTc.WithBinding(ctx, "outputs_"+k, v)** } } } return testTc }
No response
Problem Statement
Solution Description
Alternatives
No response
Additional Context
No response
Slack discussion
No response
Research