Hello,
I've create a plugin that extends from Step/StepExecution and provides an asynchronous step, that waits for a callback to be triggered before proceeding (similar to webhook-step API plugin).
It works great with Pipelines, but I wonder if there is any way to make it work with Freestyle projects as well?
I thought about extending a Builder and implementing SimpleBuildStep, then calling the asynchronous Step from within my builder.
But I have no clue if this is a good potential path, so looking for any guidance you can provide.
The Step javadoc provides the following information, which made it more confusing to me:
"Extends from Describable to support UI-based instantiation. Your step should have a config.jelly allowing a user to configure its properties, and may have a help.html and/or help-fieldName.html, plus doEtc methods on the StepDescriptor for form validation, completion, and so on. "
Thanks in advance