I want to use the seleted values one by one in bash script. Also want to save these values in a file. How can I do this??
CodePudding user response:
In order to get there, try to write a Jenkins Pipeline. You need to use those parameters in your Jenkinsfile. Please check this answer to see how to use the extended choice parameters in your jenkinsfile. You are able to pass those parameters to your bash script inside your Jenkinsfile. Also, using bash script, you can insert them in a file as well.
Also, check this answer as well. It gives some insight into how this works.