Hi, I want to setup a jenkins job which takes 2 parameters which take IP addresses and host names from the user and then iterates over the IPs to run curl.
So a user can enter one ore more values for IP and VM Name. IP=aa.bb.cc.dd ee.ff.gg.hh (new line separated) HOST_NAME=hostname1 hostname2 (new line separated) I don't want this to be a choice, but rather a text entered by user. Multi line string parameter is not giving me the desired output from these parameters. What is the best way to achieve this and iterate it ? Thanks, Desired output by running: for ((i=0; i < ${#IP[@]}; i++)) do echo "${IP[$i]} ${HOST_NAME[$i]}" done aa.bb.cc.dd hostname1 ee.ff.gg.hh hostname2 Instead I get this aa.bb.cc.ddee.ff.gg.hh hostname1 hostname2 -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5b030594-50b0-4422-b4d8-7168debec2c5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.