I'm running git clean -fdx
as a sh
step in a Jenkins job, and the command sometimes exits with code 1 (after deleting a bunch of files+directories). What could be causing it?
This is on Linux, so it's not a matter of another process keeping a file open. There is no error output, unless Jenkins is hiding it.