-
Bug
-
Resolution: Not A Defect
-
Major
-
None
-
Jenkins 2.452.3
"Pipeline Utility Steps 2.16.2"
"SnakeYAML API Plugin 2.2"
This code fail for every yaml
try
{ def processResponse1 = readYaml text: testYaml writeYaml file: "test1.yaml", data: processResponse1, overwrite: true } catch (Exception){
println("Failing ${Exception}")
}
Error :
[2024-08-06T15:54:32.441Z] , codePointLimit=9437184} for org.jenkinsci.plugins.pipeline.utility.steps.conf.ReadYamlStep: java.lang.reflect.InvocationTargetException
Fixed by :
Environment="JAVA_OPTS=$JAVA_OPTS -Dorg.jenkinsci.plugins.pipeline.utility.steps.conf.ReadYamlStep.MAX_CODE_POINT_LIMIT=9437184