Want to use selected values from extended choice parameter in Jenkins using multi-level parameter type in bash

2k Views Asked by At

Inputs from the user

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??

1

There are 1 best solutions below

0
aLuViAn On BEST ANSWER

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.