title: Jenkins: skip if node is offline
body: <p>I have a task that executes on <code>n</code> machines based on a label. If for some reason, some of these machines are offline, I do not want Jenkins to put them in a queue, and wait until they are online. I would like Jenkins to execute the job on the remaining machines and complete the job. Any suggestions?</p>
  
  <p><strong>Edit 1:</strong>
  I realized that the job is tied to all the machines:
  <img src="https://i.stack.imgur.com/hfqv7.png" alt="Screenshot"></p>
  
  <p>I was forced to do this because I needed this job to run simultaneously on all the machines. So, my question remains the same. If some of these machines are offline, I would like to skip the job on them, rather than wait/queue.</p>
  
  <p><strong>Edit 2:</strong>
  Jenkins CLI has a clear queue command. It seems promising for the time.</p>