Steps to reproduce:
- Create a Pipeline with the fellow script
- Run the Pipeline and waiting for agent pod to start
- Reboot the node which the agent pod has been assigned to
SlaveComputer is marked as offline and never get deleted even after we delete the pod. Build will also not failed and run forever.
SlaveComputer is deleted and the build is failed.