Apply same fix from master branch: - Check if workspace exists before cloning - Fetch and reset if .git directory exists - Clean and clone fresh if not Prevents CrashLoopBackOff on pod restarts.
5.5 KiB
5.5 KiB