1

I have a Windows machine that is normally unattended, compiling software under the control of Jenkins. Windows Update occasionally reboots that machine, which aborts all running compiles, causing error reports to be sent out.

Is there a way to coordinate with the Windows Update service?

Requirements

  • detect that an update is pending so no new builds are scheduled on this node
  • hold off the update until all running jobs are complete
  • immediately trigger the update as soon as the node is idle

It is acceptable if the "hold off the update" option has a time limit of a few hours -- our longest build takes about five hours normally, and up to ten if the machine is under load.

0 Answers0