-
Bug
-
Resolution: Fixed
-
Minor
-
None
We're using 2.16.0 and this is failing from within a shared library class:
def yaml = script.readYaml file: results, codePointLimit: 10485760
With:
16:08:12 java.lang.IllegalArgumentException: Could not instantiate {file=scanner-results.yaml, codePointLimit=134217728} for org.jenkinsci.plugins.pipeline.utility.steps.conf.ReadYamlStep: java.lang.reflect.InvocationTargetException
I've also added logs to print the class of the parameters passed:
file: class java.lang.String limit: class java.lang.Integer
It may be related to JENKINS-71077