Slave's Name should be trimmed of spaces at the beginning and end of the Name on Save

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Hello, thank you all for Jenkins. It is a wonderful project.

      We had one major problem setting up Jenkins that can be easily fixed:

      • When you create a Slave and accidentally add a space at the end of the Name, it is impossible to tell by looking at the name that it contains whitespace.
      • If you try to use the Slave's Name such as in a Label Expression when restricting where a project can be run, you are told "There's no slave/cloud that matches this assignment."
      • It is very hard to work out that the problem is an extra space in the Slave's Name.
      • You COULD enter the Slave's Name as "Blah " in the Label Expression, but the real problem is you accidentally added a space to the name that should be removed.

      We believe there is no good reason to allow spaces at the end (or beginning?) of a Slave's Name and we request that you trim the Slave's Name of spaces when you Create and Save a Slave's configuration.

      Many thanks!

            Assignee:
            sogabe
            Reporter:
            Brendan Brewster
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: