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

Renaming a node does not update the jobs associated with the node.

    Details

    • Similar Issues:

      Description

      Renaming a node does not update the jobs associated with the node.

      Steps to reproduce:
      1. Create a node,
      2. Create a job and assign it to the node,
      3. Rename the node

      Bug: From the jobs perspective the node is no longer there. From the Nodes perspective there is no jobs.

      Ideal solution: when rename the nodes, update all the jobs associated to point to the new name.

      Justification: As part of the maintaining a lager cluster of nodes it becomes necessary to occasionally relabel some of the nodes to meet new lab naming conventions. Current this break makes it so I have to go in and fix a lot ~50 jobs per node.

        Attachments

          Activity

          Hide
          danielbeck Daniel Beck added a comment -

          Workaround: Use actual labels rather than node names (which is probably an anti-pattern to begin with).

          Show
          danielbeck Daniel Beck added a comment - Workaround: Use actual labels rather than node names (which is probably an anti-pattern to begin with).

            People

            • Assignee:
              Unassigned
              Reporter:
              mkruer Matthew Kruer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: