I'm trying to use checkout local directories in Jenkins but I fail because of this error when running a pipeline:
ERROR: Checkout of Git remote 'file:////Users/nick/Documents/storm_algorithm' aborted because it references a local directory, which may be insecure. You can allow local checkouts anyway by setting the system property 'hudson.plugins.git.GitSCM.ALLOW_LOCAL_CHECKOUT' to true.
Finished: FAILURE
How can I fix this error?