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

Add support for changing NODE_NAME

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • ec2-plugin
    • None
    • Jenkins 2.289.2
      EC2 Plugin 1.63

      Nodes are currently named using this pattern:

      EC2 (Your cloud name) - Your AMI Name (i-123456)

      There is other software that consumes `env.NODE_NAME` (like the P4 Plugin) and the spaces can cause problems. Can we have support for changing the node naming pattern?

      I notice that if `Jenkins.checkGoodName()` fails, it will name the node after the instanceId alone. If I knew of a way to short-circuit that method I could achieve this without any code changes.

      This blocks us from using the EC2 Plugin as we are unable to get the nodes to play nicely with our source control system (Perforce).

            thoulen FABRIZIO MANFREDI
            jazzyjayx Jay Spang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: