-
Task
-
Resolution: Not A Defect
-
Minor
-
None
Hello There,
I am using below code in my pipeline
but we are getting below error in Jenkins,
------------------
hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: java.io.File.exists() is applicable for argument types: (java.lang.String) values: [/jenkins/workspace/LDAP/result.txt]
Possible solutions: exists(), list(), list(java.io.FilenameFilter), write(java.lang.String), wait(), size()
at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:153)
---------------------------
please guide what we are missing here,
Regards,
Sam