Jenkins CasC support for YAML input greater than 3MB

Issue #557 invalid
mslocrian created an issue

I noticed that in this PR https://bitbucket.org/snakeyaml/snakeyaml/issues/547/restrict-the-size-of-incoming-data the size limit for yaml input is 3MB.

Could this setting be made into a CasC configurable item for Jenkins, so we can bypass this limitation?

org.yaml.snakeyaml.error.YAMLException: The incoming YAML document exceeds the limit: 3145728 code points.
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:335)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:256)

thanks,

stegen

Comments (5)

  1. mslocrian reporter

    Apologies... I was making an assumption that you folks were also responsible for the jenkins snakeyaml plugin.

  2. Log in to comment