• 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

          [JENKINS-41414] Can't pass parameters list to another job

          Real Name created issue -
          Real Name made changes -
          Description Original: 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`
          New: 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}}
          Real Name made changes -
          Description Original: 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}}
          New: 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}}
          Real Name made changes -
          Description Original: 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}}
          New: 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}}
          Real Name made changes -
          Description Original: 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}}
          New: 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}}
          Real Name made changes -
          Description Original: 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}}
          New: 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}}
          Real Name made changes -
          Description Original: 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}}
          New: 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}}
          Rachel M. made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Rachel M. made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Rachel M. made changes -
          Assignee New: Rachel M. [ rachel ]
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          Real Name made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]

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

              Created:
              Updated:
              Resolved: