-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
-
Ubuntu 14.04 LTS
java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.14.04.2)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
I'm trying to programatically configure the clouds in Jenkins and I'm starting with the Docker plugin. I'm able to create a DockerCloud object with templates however I'm not able to add it as a cloud to my Jenkins instance. I had a major attempt on line 165 of my linked code.
Can you give me any hints as to how to add clouds to Jenkins? Any help would be much appreciated.
Figured it out. The script now works.
https://github.com/samrocketman/jenkins-bootstrap-jervis/blob/dee6430a075d8862d6f0a854769c9a42477fbe9e/scripts/configure-docker-cloud.groovy