Hi all, I'm trying to add DockerCloud via groovy script. I found how create DockerCloud constructor, but I don't understand how to save my configuration. See simple code below.
------ import com.nirima.jenkins.plugins.docker.* def instance = Jenkins.getInstance() def desc = instance.getDescriptor(com.nirima.jenkins.plugins.docker.DockerCloud) def c = new DockerCloud( "name1", [], "127.0.0.1", "100", 0, 0, "", "" ) ------ Fron jenkins plugin source code public DockerCloud(String name, List<? extends DockerTemplate> templates, String serverUrl, int containerCap, int connectTimeout, int readTimeout, String credentialsId, String version) Maybe anybody knows how to save plugin configuration and how to find and save other plugins configurations. -- 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/0c127f9c-ad43-4c87-ba81-dd2e9f4507d2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
