Parameterized build in Jenkins
1. Create a parameterized job which should be named as parameterized-job.
2. Add a string parameter named Stage; its default value should be Build.
3. Add a choice parameter named env; its choices should be Development, Staging and Production.
4. Configure job to execute a shell command, which should echo both parameter values (you are passing in the job).
5. Build the Jenkins job at least once with choice parameter value Development.
* This is a learning task and you can try to do it in your own learning environment. I have done a sample solution for this task on Ubuntu OS.
Solution:
check below the sample solution video for the above task.
LIKE || SUBSCRIBE || COMMENTS on MY YOUTUBE CHANNEL AND BLOG
STAY TUNED FOR MORE VIDEOS.......
No comments:
Post a Comment