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

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

XMLWordPrintable

      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.

            Assignee:
            Unassigned
            Reporter:
            Frank Merrow
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: