I need to write a groovy script based on below scenerio.
If Server Group A - a ,b ,c
then execute Build URLs for group A ( http links )
If Sever Group B - any server besides the one given in server group A
then execute Build URLs for group B ( http links )
Here the JIRA field will have details besides server and based on server value given in the field in JIRA i have to extract those details in my script.
I thought to use if.. else for my scenerio. But i need help like how to extract server details under that if..else.
I hope i am able to explain my query. Please reply as early as possible. Thanks.