I want to call a function under my pipeline , the function name is CMList and the arguments eList and pLists are in the format of email address .
Below are the choice parameter added , so that the entries appear in the
Jenkins UI and value needs to be input for both
eList and pLists .
Below snippet describes the function call:
The function CMList is defined as below:
I want to create a function as CMList that consists of a stage in groovy . But this function throws the error as