Programatically configure docker plugin

XMLWordPrintable

    • Type: Bug
    • Resolution: Not A Defect
    • Priority: Minor
    • Component/s: docker-plugin
    • None
    • Environment:
      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.

      https://github.com/samrocketman/jenkins-bootstrap-jervis/blob/5e7acc4a421eb73aa25b747356b35b22771fa3dc/scripts/configure-docker-cloud.groovy#L165

      Can you give me any hints as to how to add clouds to Jenkins? Any help would be much appreciated.

            Assignee:
            Kanstantsin Shautsou
            Reporter:
            Sam Gleske
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: