Hello All!
I was trying to create a new Declarative pipeline script Step for 'SelfPromotion' and am confused as to what goes inside the start() method while creating the step.
public StepExecution start() throws Exception{
return new Execution();
}Here I later implement "Execution extends SynchronousStepExecution". Questions:
1) What should be the implementation/use of the Execution class here?(Its return type- a badge?)
2) When connecting with the new pipeline compatible SelfPromotionCondition how are the parameters sent and how would this step communicate with the required promotion Condition class?
Thank You!!