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

Can't pass parameters list to another job

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 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

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

              Created:
              Updated:
              Resolved: