Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-56000

Pipeline fails if more than 250 parameters specified

XMLWordPrintable

      I created a pipeline with 419 booleanParams like this:

       

       parameters {
       
      booleanParam(name: 'TestOne', defaultValue: false, description: '')
       booleanParam(name: 'TestTwo', defaultValue: false, description: '')
       booleanParam(name: 'TestThree', defaultValue: false, description: '')
       booleanParam(name: 'TestFour', defaultValue: false, description: '')
       booleanParam(name: 'TestFive', defaultValue: false, description: '')
      ...

       

       

      When I tried to build/run the pipeline, I got:

       

      WorkflowScript: -1: List expressions can only contain up to 250 elements @ line -1, column -1.
      1 error 

       

       

            Unassigned Unassigned
            rodrigc Craig Rodrigues
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: