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!!
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/6c0c9cc4-34de-4254-be2a-47e24b4bb526%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.