# Populate choice parameter from data in a git

**URL:** <https://community.jenkins.io/t/populate-choice-parameter-from-data-in-a-git/7009>\
**Category:** Using Jenkins\
**Created:** [April 24, 2023, 8:33pm UTC](https://community.jenkins.io/t/populate-choice-parameter-from-data-in-a-git/7009 "2023-04-24T20:33:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnmilton](https://avatars.discourse-cdn.com/v4/letter/j/a6a055/32.png) [@johnmilton](https://community.jenkins.io/u/johnmilton)\
**Post date:** [April 24, 2023, 8:33pm UTC](https://community.jenkins.io/t/populate-choice-parameter-from-data-in-a-git/7009/1 "2023-04-24T20:33:49Z")

</div>

Hello

I have a git repository which contains a file data.txt  
This text file contains few number of lines. Each line is one word containing some text

I have a Jenkins job and that job has a Active choices reactive parameter

When the job is run i.e. Build With Parameters option is chosen, I want to read contents from data.txt in my git repository and populate the choice parameter

Please explain how to achieve this ?

Thanks you in advance for your help  
John
