When running a closure is applied to a list of lists though a method like `findAll`, the multiple assignment does not destructure the inner lists into individual variables, but set the first variable to the inner list, and the other variables to null.
If I run the following script as a pipeline:
I would expect that my lists of 3 items are destructured into k, v and x. This way, I could only keep the lists whose second item is not null.
Instead, I get this output:
If I run the same code in the Jenkins console, I get
The multiple assignment works properly if done on a map:
Note that it behaves properly when the code is run outside of Jenkins.