Nesting harness variables

Hi all,

I have two stage pipeline and both stages have Matrix type loop. The step in Stage 1 processes some input for each Matrix item and have output variable “myvar1”. So and of Stage1 I have following 9for 3 items in Matrix):

<+pipeline.stages.Stage1_0.spec.execution.steps.step_name.output.outputVariables.myvar1>
<+pipeline.stages.Stage1_1.spec.execution.steps.step_name.output.outputVariables.myvar1>
<+pipeline.stages.Stage1_2.spec.execution.steps.step_name.output.outputVariables.myvar1>

In Stage2, I have the same Matrix loop definition and in each iteration, I want to use output variable from Stage1 as hypothetically shown below:

<+pipeline.stages.Stage1_<+strategy.iteration>.spec.execution.steps.step_name.output.outputVariables.myvar1>

So in each iteration of Stage 2, I will be able to access myvar1 from Stage 1 for same iteration

Is there a way to next <+strategy.iteration> variable in <+pipeline.stages.Stage1_…>

Thanks in advance
Suleyman Kutlu

Hey @snk Thanks for posting your query here. I am afraid but we cant process the use for output variable between stages.