I've already found how to do it:

- 
https://github.com/jenkinsci/jenkins-scripts/blob/master/scriptler/jira-publisher.groovy#L54-L55

            item.getPublishersList().add(new hudson.plugins.jira.
JiraIssueUpdater())item.save()



On Thursday, 2 April 2015 19:07:11 UTC+2, Victor Martinez wrote:
>
> Hi, 
>
> I wonder if I can easily inject some plugins snippets programmatically via 
> groovy, if so, can you help me out with any references or examples? 
>
> Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" 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-users/6248d9c6-b1f4-40fa-8643-588b83208a9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to