I am having a list of variable like below
allModules = ['module1', 'module2', 'module3', 'module4', 'module11']
I want to use loop then print all the module one by one.
Please let me know the syntax and how to perform this in Jenkins Declarative pipeline