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

Multiple assignment in pipeline fails with LHS Error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • workflow-cps-plugin
    • None
    • Jenkins 2.69
    • workflow-cps 2.46

      Multiple assignment like:

      def (a, b) = [1,2]

       No longer works, I believe this worked in Jenkins around 2.65 (and the pipeline components from around that release)

            abayer Andrew Bayer
            kbrowder Kevin Browder
            Votes:
            7 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: