Create Views in Jenkins
1. Create a Jenkins job which should be named jenkins-pipeline-job.
2. Configure this job to run a simple bash command to echo Hello Jenkins!!.
3. Create a view named jenkins-crons (should be a List View) and make sure Jenkins-pipeline-job under this new view.
4. Schedule this newly create job to build periodically at every minute i.e '* * * * *' (please make sure to use the cron expression exactly the same how it is mentioned here)
5. Make sure the job builds successfully.
* 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