Following on from my previous post (http://forum.pmease.com/viewtopic.php?f=1&t=2342) I now have a configuration which is split into two large sequential composition steps.
1. Build Pipeline
2. Automated Testing
I have set up the Automated Testing composition step to repeat as you described, but I would only like step 2 to run if the step 1 was successful. I first tried 'If all previous sibling steps were successful' but that doesn't work because if the first repetition of the Automated Testing step fails, further repetitions will be skipped.
I therefore opted for 'If specified script evaluates to true' with the following script:
${groovy:
if (steps.get("Build Pipeline").isFailed()) {
return false;
\} else {
return true;
\}
}
However when I run this I get the following error:
Invalid step path: Build Pipeline
I looked through the documentation but I don't see anything about step paths. The configuration is located here...
'root' -> 'AT - Run on commit'
...and the step is called 'Build Pipeline'.
Can you tell me what the correct build path should be?
Thanks,
Mark