It fixes the problem when parameter "conf_file" has only one absolute file path:
java.io.IOException: Expecting Ant GLOB pattern, but saw '/full-path/to-file.yaml'
Among other solutions we tried new File("${env.conf_file}"), but during access to file.path it prints below error that blocks us from creating FileWrapper similar to findFiles() function.
org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts not permitted to use method java.io.File getPath
It fixes the problem when parameter "conf_file" has only one absolute file path:
Among other solutions we tried
new File("${env.conf_file}")
, but during access tofile.path
it prints below error that blocks us from creating FileWrapper similar to findFiles() function.