-
Improvement
-
Resolution: Fixed
-
Minor
I would like to configure this plugin with groovy
My code
import jenkins.model.* import org.jenkinsci.plugins.* def inst = Jenkins.getInstance() def desc = inst.getDescriptor("org.jenkinsci.plugins.sysloglogger.SyslogLoggerPlugin") desc.setSyslogTransport("UDP") desc.save()
Error
STDERR: groovy.lang.MissingMethodException: No signature of method: org.jenkinsci.plugins.sysloglogger.SyslogLoggerPlugin.setSyslogTransport() is applicable for argument types: (java.lang.String) values: [UDP]
I'm light on Groovy experience and am having trouble. Any help is appreciated