-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
Jenkins v2.319.3
Git Plugin v4.11.3
After upgrading Jenkins git plugin as per security advisory https://www.jenkins.io/security/advisory/2022-05-17/, git clone operation from local copy started to fail.
ERROR: Checkout of Git remote 'file:///mnt/jenkins/git_repo/****' 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.
Tried setting below System Property but it did not help. We need to use local copy as we dont want to checkout every-time from remote to avoid rate limit issues.
hudson.plugins.git.GitSCM.ALLOW_LOCAL_CHECKOUT=true
- relates to
-
JENKINS-68571 ALLOW_LOCAL_CHECKOUT set but local checkout not available
- Closed