Hi All, I have installed Blackduck detect plugin in jenkins. I want to do Blackduck detect configurations via groovy script.
I am able to do using GUI Manage Jenkins -> configure system but need to do similar activity via groovy script. Similar configurations for other plugins can be done for example below. But for BlackDuck detect I cant find any appropriate class to provide. https://github.com/blackducksoftware/blackduck-detect-plugin Anyone please help me on this. Thanks, Sabya Sonar Script ========================== import jenkins.model.* import hudson.plugins.sonar.* import hudson.plugins.sonar.model.* import jenkins.plugins.slack.SlackNotifier import jenkins.plugins.git.GitSCMSource def inst = Jenkins.getInstance() def desc = inst.getDescriptor("hudson.plugins.sonar.SonarPublisher") //or slack or git def slack = instance.getDescriptor(SlackNotifier) def gitPluginSetup = instance.getDescriptor(GitSCM) -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/addfce4d-7355-4aa2-a424-4299cd2657ba%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.