Can't pass parameters list to another job

XMLWordPrintable

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Minor
    • None
    • Environment:
      Jenkins ver. 2.7.1, Pipeline: Groovy 2.19

      I need to pass all the parameters from current job to subsequent:

      {{ stage('Call job') {
      dir('LIT')

      { build job: 'Assets', parameters: params }

      }
      }}

      But I get an error:
      java.lang.UnsupportedOperationException: must specify $class with an implementation of interface java.util.List

            Assignee:
            Unassigned
            Reporter:
            Real Name
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: