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

Default tokens for slaves

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • slave-setup-plugin
    • None

      Often labels are used to declare "this is a windows x86 job, so it must run on a windows x86 or x64 machine". As this is rather intuitive, it is a lot to type again and again – and people will make errors typing in the expression "windows && (x86 || x64)" possibly. Or people think it is EM64 intead of x64. And so on.

      To solve this, it would be great if Jenkins would know some default tokens. That means, Jenkins shall check the slave and assign non-removable tokens inherently, that can be used just as custom labels.

      • If it is a Windows machine, it should be auto-labelled with the tag "windows".
      • If it is a Linux machine, it should be auto-labelled with the tag "linux".
      • If it is a x86 machine, it should be auto-labelled with the tag "x86".
      • If it is a x64 machine, it should be auto-labelled with the tag "x64".

      Also, it would be cool if the suggestions popping up would not only contain single tags, but at the same momen suggest the most useful completions like "windows && (x86 || x64)".

            kohsuke Kohsuke Kawaguchi
            mkarg Markus KARG
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: