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

Option to exclude off-line Slaves in "Individual Slaves"

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • matrix-project-plugin
    • None
    • All

      I would like to use a Matrix Job to release software to Jenkins Master and Slaves. Unfortunately, if any slave is off-line the job never finishes which means it will not run again (at the next release) without manual intervention. I would either like an "on-line slaves only" option, or for something like this to work as a combination filter:

      Hudson.instance.getComputer(label == "master"?"":label).getNode().getChannel() != null

      The above scriptlet works fine in scriptler, but I cannot seem to get it running (with or without an import) in the combination filter. The combination box will not properly process "import" and without the import "Hudson" is undefined.

            Unassigned Unassigned
            fmerrow Frank Merrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: