That's brilliant. Thanks Jesse :)

On Wednesday, 14 April 2021 at 18:08:18 UTC+1 Jesse wrote:

> 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/eb49429a-01a5-4b44-8094-798cc1f44a16n%40googlegroups.com.

Reply via email to