jenkins: reboot job appears as failed while it is successfull By Ricardo MallaJanuary 9, 2024uncategorized When a Jenkins job is used to reboot a server, it's common for the job to be marked as "failed" because the reboot process interrupts the Jenkins job before it can complete normally. The solution is use a 1 minute delay on your reboot command. ssh root@YOUR-UP 'shutdown -r +1'