user8051342
user8051342

Reputation: 25

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

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

Upvotes: 0

Views: 2305

Answers (1)

aLuViAn
aLuViAn

Reputation: 362

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.

Upvotes: 0

Related Questions