Git CleanBeforeCheckout timeout

I have set the Git CheckoutOption timeout to 60, and CloneOption timeout to 30, but CleanBeforeCheckOut doesn’t seem to have a timeout option and is defaulting to 10:

22:05:56  Cleaning workspace
22:05:56   > /tools/bin/git rev-parse --resolve-git-dir /Path/to/dir/.git # timeout=10
22:05:56   > /tools/bin/git config remote.origin.url ssh://user@host:port/Path/To/Repo # timeout=10
22:05:56   > /tools/bin/git rev-parse --verify HEAD # timeout=10
22:05:56  Resetting working tree
22:05:56   > /tools/bin/git reset --hard # timeout=10
22:11:02   > /tools/bin/git clean -fdx # timeout=10

Since git clean is an entirely local operation, the plugin has not added a timeout setting for all its variants. You can perform git clean -xffd with no timeout from a shell step in the Pipeline or from a bat or powershell step.

Thanks. Yes, it’s local, but the file deletion performance of our nfs server is horrible so it can take a long time. I did add a sh to do the cleaning manually in our pipeline.