• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • workflow-cps-plugin
    • Jenkins 2.89.4

      We're currently running into an issue where lists we expect to work are causing compilation errors. The syntax is valid, but the plugin throws an error anyway. When our lists are deemed too big we see something similar to the following WorkflowScript: 29: List expressions can only contain up to 250 elements @ line 29, column 16.

      I've attached an example of a failing Jenkinsfile

          [JENKINS-50579] Unexpected compile error when list is too large

          Andrew Bayer added a comment -

          Sadly, this is a duplicate of JENKINS-47363, which I couldn't come up with a fix for, just the compile-time error message you received. You will need to declare your list in multiple pieces - sorry!

          Andrew Bayer added a comment - Sadly, this is a duplicate of JENKINS-47363 , which I couldn't come up with a fix for, just the compile-time error message you received. You will need to declare your list in multiple pieces - sorry!

            abayer Andrew Bayer
            rhochstedler Reid Hochstedler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: