Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-71959

Empty Docker cloud name allowed before Jenkins 2.403, but can't be edited in 2.403 and later

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • docker-plugin
    • None

      The docker-plugin allows a Docker cloud to have an empty name when run with Jenkins versions 2.402 and prior. When an attempt is made to edit that cloud in Jenkins 2.403 or later, The cloud management improvement in Jenkins 2.403 cloud management is a great improvement, but it prevents editing a docker cloud definition when the name of the cloud is the empty string.

      The workaround is to rename the docker cloud from the empty string to a non-empty string. The most direct way to perform that rename is to stop Jenkins and edit the root level config.xml file where there is an com.nirima.jenkins.plugins.docker.DockerCloud element that has a name. Make that name a non-blank string and restart Jenkins.

      The most recent details are available in https://github.com/jenkinsci/docker-plugin/pull/1010

          [JENKINS-71959] Empty Docker cloud name allowed before Jenkins 2.403, but can't be edited in 2.403 and later

          Mark Waite created issue -
          Mark Waite made changes -
          Link New: This issue is caused by JENKINS-70729 [ JENKINS-70729 ]
          Mark Waite made changes -
          Assignee Original: Nicolas De Loof [ ndeloof ]
          Mark Waite made changes -
          Summary Original: Empty Docker cloud name allowed before 2.403 can't be edited in 2.403+ New: Empty Docker cloud name allowed before Jenkins 2.403, but can't be edited in 2.403 and later
          Mark Waite made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            Unassigned Unassigned
            markewaite Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: