Use Properties file for Extended Choice parameters in Jenkins job | Read values from property file

preview_player
Показать описание
▶️ In this session we will learn how we can use use Properties file to add the choices values for Extended Choice parameters in Jenkins parameterized job. Jenkins will read data from property file for the extended choice parameters values.
▶️ We will Read values for jenkins extended choice parameters from property file.
▶️ It would save a lot of your time without changing configurations for each and every jenkins jobs.
▶️ In real time projects we always have multiple Jenkins jobs for different purposes and activities in CICD for every QA/Dev members.
▶️ So it is better to use property file to save the choices for the extended choice parameters and configure it in all the jenkins jobs so that in future if you want to add or remove or update any choices then you just need to update the Property file and all those changes would get reflected in all the jenkins jobs. No need to change the configuration for each job.

✅ Jenkins Tool Series :==

======================================
****************AJ AUTOMATION**************
======================================
Hi guys, Please share and Like the content whichever you find informative to reach more beginner candidates learning Test Automation. Thanks for your Support !!

🔔 Learn automation from basic !! 🔔

✅ Let's Learn the Concept in 5 To 10 Mins :=

✅ Selenium series videos Playlist :=

✅ Maven Tool videos playlist :=

✅ Selenium WebDriver Exceptions Playlist :=

✅ Selenium Grid With Docker:==

✅ Jenkins Tool Series :==

✅ Upload and Download Files in Selenium :=

✅ Excel and CSV files operations :=

✅ Java Language Concepts :=

✅TestNG Framework Videos:=

✅ Become Master in Xpath:=

✅ Protractor series videos playlist :=

✅ Recent Uploads :=

⚡️ Thanks for your support !! ⚡️

======================================
**************** Thanks for watching !!**************
======================================

⚡️ Keep Learning...Keep Sharing...Keep Growing. ⚡️

#LearnSeleniumInEasyWay #SeleniumWebDriver
Рекомендации по теме
Комментарии
Автор

Hi Sir, My requirement is to reflect values from property file based on the choice option. Like if choice=A ==> Reflect A1, A2, A3 (from property file) & choice=B ==> Reflect B1, B2, B3 (from property file). How to configure this ? Kindly help to explain once !!

hmsvigle
Автор

Thanks Bro. I have a question. Why are you using the property file from your local computer? What will happen if someone else in the team want to add two more values to that property file?

manikandandec
Автор

can we write in property file as well?

ammarahmed
Автор

Hi, Very informative. I have a question, can we specify the path of file in git instead of giving the system location of property file?

SSM
Автор

I want to change application property file content how it be possible in jenkings?

jayantbhade
Автор

Hi, I have a question. I need a textbox where either user can input data or he can select from active choice parameters. How can we achieve this?

creativethinker