Via either https://javadoc.jenkins.io/plugin/workflow-api/org/jenkinsci/plugins/workflow/graph/StepNode.html#getDescriptor-- or https://javadoc.jenkins.io/plugin/workflow-api/org/jenkinsci/plugins/workflow/flow/StepListener.html#notifyOfNewStep-org.jenkinsci.plugins.workflow.steps.Step-org.jenkinsci.plugins.workflow.steps.StepContext- you can look up https://javadoc.jenkins.io/hudson/PluginManager.html#whichPlugin-java.lang.Class- to find the plugin owning the `Step`. Beware however that in cases of `SimpleBuildStep` or `SimpleBuildWrapper` the `Step` will be from `workflow-basic-steps` but the interesting information is the owner of the `delegate` as in https://javadoc.jenkins.io/plugin/workflow-step-api/org/jenkinsci/plugins/workflow/steps/StepDescriptor.html#isMetaStep-- (often some freestyle-compatible plugin).
-- 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/CANfRfr0W%2BTDDci_TETaDqRdzHg6iH9QmSvoV1zh%2BvFR_a5d_Ow%40mail.gmail.com.
