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

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

    • 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.

          [JENKINS-21602] Option to exclude off-line Slaves in "Individual Slaves"

          Frank Merrow created issue -
          Frank Merrow made changes -
          Attachment New: MatrixSlaveOnlineConfig.png [ 25231 ]
          Oleg Nenashev made changes -
          Component/s New: matrix-project [ 18765 ]
          Component/s Original: matrix [ 15501 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 153600 ] New: JNJira + In-Review [ 178544 ]

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

              Created:
              Updated: