I'm using Active choice reactive parameter in Jenkins to execute aws-cli commands. I need to assign the variable in if-else condtion to select AWS config. I'm not sure how to get variable values from parameters?
I'm trying to get the values from build with parameters like region id, image id,security group id and subnet id as i shared image above. So whenever the paramters selected while job is build, this parameter value should assign to the variable which is declared in AWS Cli commands in Execute shell. However, I don't know how to do? I have shared my aws-cli script too. Can any one please help me here?


