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

Be able to set Instance Name

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • ec2-plugin
    • None

    Description

      It would be nice to be able to have the node names set, but in Jenkins and in AWS. In Jenkins, the Instance name is used, which isn't terribly meaningful, but useful for cross-reference. In AWS, the name in left empty. Ideally, each AMI should have an "Instance Name" setting. In Jenkins, it is used for the node name, perhaps with the instance ID in perens after it so it will be unique. It would be cleaner to have a simple incrementing number in the name instead though, and then move the instance ID to the description field so we don't lose that potentially useful information. In AWS, the instance name should be set to the same value as it is in Jenkins.

      Attachments

        Issue Links

          Activity

            johntdyer John Dyer added a comment -

            This is actually what I am trying to use the tags feature for, I am trying to set a node name

            johntdyer John Dyer added a comment - This is actually what I am trying to use the tags feature for, I am trying to set a node name

            Code changed in jenkins
            User: Kevin P. Fleming
            Path:
            src/main/java/hudson/plugins/ec2/EC2Computer.java
            src/main/java/hudson/plugins/ec2/EC2Slave.java
            src/main/java/hudson/plugins/ec2/SlaveTemplate.java
            http://jenkins-ci.org/commit/ec2-plugin/88222567e84ae42c602d5ac8430a95957ea083e3
            Log:
            Give Jenkins nodes useful names.

            EC2 slave nodes will now include their template name and EC2 instance
            identifiers in the node name used throughout the Jenkins UI.

            Addresses JENKINS-15078.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kevin P. Fleming Path: src/main/java/hudson/plugins/ec2/EC2Computer.java src/main/java/hudson/plugins/ec2/EC2Slave.java src/main/java/hudson/plugins/ec2/SlaveTemplate.java http://jenkins-ci.org/commit/ec2-plugin/88222567e84ae42c602d5ac8430a95957ea083e3 Log: Give Jenkins nodes useful names. EC2 slave nodes will now include their template name and EC2 instance identifiers in the node name used throughout the Jenkins UI. Addresses JENKINS-15078 .
            jperry Jay Perry added a comment - - edited

            Any way to get the Name tag set in aws so when I go to the aws console I can tell what agents are what? It seems you can add a tag in Jenkins after the node is up but I would like to have any instances created as part of a cloud profile to get a particular aws tag. Is this supported?

            jperry Jay Perry added a comment - - edited Any way to get the Name tag set in aws so when I go to the aws console I can tell what agents are what? It seems you can add a tag in Jenkins after the node is up but I would like to have any instances created as part of a cloud profile to get a particular aws tag. Is this supported?
            jperry Jay Perry added a comment -

            Nevermind, I was able to find Tags in the Advanced section.

            jperry Jay Perry added a comment - Nevermind, I was able to find Tags in the Advanced section.

            People

              kohsuke Kohsuke Kawaguchi
              qhartman Quentin Hartman
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: