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

Cannot label master node in a dynamic provisioned environment.

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Jenkins 1.431

      Jenkins hides/disables the master labeling and tie breaking options when the master is the only node. This makes sense for static slaves, but doesn't work for cloud, dynamically provisioned environments.

      For example, let's say I have a master jenkins configured to dynamically provision slaves in the EC2 cloud as demand requires. If there isn't a job running, which would have forced a slave to be active, then I can't configure the master's labels and usage options. If I wait for a job to provision a slave, I can configure the options, but I'm not sure they persist or behave correctly after.

      My suggestion would be to either leave the labeling options visible at all times, or make them visible when a Cloud is configured.

          [JENKINS-11100] Cannot label master node in a dynamic provisioned environment.

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/resources/jenkins/model/MasterBuildConfiguration/config.groovy
          http://jenkins-ci.org/commit/jenkins/f4aec235ec854ca599669402a5ce4d164adc2140
          Log:
          [FIXED JENKINS-11100] master label should be editable if there's a
          cloud.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/resources/jenkins/model/MasterBuildConfiguration/config.groovy http://jenkins-ci.org/commit/jenkins/f4aec235ec854ca599669402a5ce4d164adc2140 Log: [FIXED JENKINS-11100] master label should be editable if there's a cloud.

          dogfood added a comment -

          Integrated in jenkins_main_trunk #1163
          [FIXED JENKINS-11100] master label should be editable if there's a

          Kohsuke Kawaguchi : f4aec235ec854ca599669402a5ce4d164adc2140
          Files :

          • core/src/main/resources/jenkins/model/MasterBuildConfiguration/config.groovy
          • changelog.html

          dogfood added a comment - Integrated in jenkins_main_trunk #1163 [FIXED JENKINS-11100] master label should be editable if there's a Kohsuke Kawaguchi : f4aec235ec854ca599669402a5ce4d164adc2140 Files : core/src/main/resources/jenkins/model/MasterBuildConfiguration/config.groovy changelog.html

            Unassigned Unassigned
            kmbulebu Kevin Bulebush
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: