Here is the content of my Jenkinsfile :
Jenkinsfile
node { // prints only the first element \'a\' [ \'a\', \'b\', \'c\' ].each { echo it } }
Thanks to @batmat on #jenkins IRC channel for answering this question!
It's actually a known bug : JENKINS-26481.