<p>Use the <a href="https://plugins.jenkins.io/uno-choice/" rel="nofollow noreferrer">Active Choice Parameter plugin</a> which allows you to run a Groovy script to dynamically load values for your parameters.</p>

CC BY-SA 4.0
2020-09-28T17:36:51.803Z
2020-09-28T17:36:51.803Z
jayhendren
<p>Though below code works fine individually:</p>
<pre><code>extendedChoice description: '', multiSelectDelimiter: ',', name: 'Capablities', quoteValue: false, saveJSONParameterToFile: false, type: 'PT_CHECKBOX',value: 'Chrome_macos10_15, Chrome_win10', visibleItemCount: 30
</code></pre>
<p>I need Chrome_macos10_15, Chrome_win10 need to be passed from external file.</p>
<p>How can it be achieved?</p>

<jenkins-pipeline>
Extended Choice Parameter: How to load params dynamically from any file for jenkins build job
Mithun Kumar
# Extended Choice Parameter: How to load params dynamically from any file for jenkins build job

(Asked by: username_0 on 2020-09-25)

Though below code works fine individually:
extendedChoice description: '', multiSelectDelimiter: ',', name: 'Capablities', quoteValue: false, saveJSONParameterToFile: false, type: 'PT_CHECKBOX',value: 'Chrome_macos10_15, Chrome_win10', visibleItemCount: 30

I need Chrome_macos10_15, Chrome_win10 need to be passed from external file.
How can it be achieved?

**Tags:** jenkins-pipeline


---

## 1 answers

### Answer by username_1 on 2020-09-28. Score: 2

Use the [Active Choice Parameter plugin](https://plugins.jenkins.io/uno-choice/) which allows you to run a Groovy script to dynamically load values for your parameters.


---

