Answers: <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>
  
Answers: CC BY-SA 4.0
Answers: 2020-09-28T17:36:51.803Z
Answers: 2020-09-28T17:36:51.803Z
Answers: jayhendren
Body: <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>
  
Tags: <jenkins-pipeline>
Title: Extended Choice Parameter: How to load params dynamically from any file for jenkins build job
UserDisplayName: Mithun Kumar
ThreadText: # 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.
  
  
  ---
  
  