-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: workflow-cps-plugin
-
Labels:None
-
Environment:Jenkins 2.69
-
Similar Issues:
-
Epic Link:
-
Released As: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)
- is duplicated by
-
JENKINS-38846 Support tuple in Pipeline
-
- Resolved
-
- links to
So this was my dumb mistake - I added support for multiple assignments...but only in non-sandboxed mode. Oops. Anyway, https://github.com/cloudbees/groovy-cps/pull/81 adds multiple assignment support in sandbox as well.