# Parameters in the "Build with Parameters"

**URL:** <https://community.jenkins.io/t/parameters-in-the-build-with-parameters/13286>\
**Category:** Using Jenkins\
**Created:** [March 13, 2024, 8:56am UTC](https://community.jenkins.io/t/parameters-in-the-build-with-parameters/13286 "2024-03-13T08:56:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gaojun](https://avatars.discourse-cdn.com/v4/letter/g/aca169/32.png) [@gaojun](https://community.jenkins.io/u/gaojun)\
**Post date:** [March 13, 2024, 8:56am UTC](https://community.jenkins.io/t/parameters-in-the-build-with-parameters/13286/1 "2024-03-13T08:56:04Z")

</div>

I have a question of pipeline parameters list like textbox, dropdown list, radio button, checkbox, etc. in the “Build with Parameters” page like the below screenshot 1, where users can input/select their values while build. I understand these parameters can be defined in the pipeline “Configure” → “Rebuild options” → “This project is parameterized” like screenshot 2. Is there any way to define these parameters in the **Jenkinsfile** by using Groovy script like screenshot 3 instead, but can be still shown in “Build with Parameters” page like the below screenshot 1?

Screenshot 1-3:

 ![Jenkins parameters 1-3](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/2X/d/df5ca2ac42c36c62628bf3d55d3371fefc63e49c.png)

---

<div class="post-metadata">

**Author:** ![mawinter69](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/mawinter69/32/1625_2.png) [@mawinter69](https://community.jenkins.io/u/mawinter69)\
**Post date:** [March 13, 2024, 9:51am UTC](https://community.jenkins.io/t/parameters-in-the-build-with-parameters/13286/2 "2024-03-13T09:51:44Z")

</div>

Yes this works. Just consider that parameters defined in the Jenkinsfile become visible in the Configure screen in the UI only after the pipeline has run once since the Jenkinsfile was changed
