How To Access Build Periodically Feature
Now you will get to know that, how you can access Build Periodically feature while creating new job and for a pre-existing Job with the help of following screenshots and Steps. Then you can be able to make best use of Jenkins power. So, follow through given steps and respective screenshots for the reference:
Access Build Periodically Feature While Creating New Job:
Step 1: Sign-in
Click on the given link to access the sign in page for Jenkins: http://localhost:8080/login?from=%2F
As soon as you click on login you will be redirected to Jenkins Dashboard.
Step 2: Create a New Job
On Dashboard, click on “Create a Job” to make a new Job. There you can define job which you are creating, and also you can configure many other changes to it from the given options like:
- General
- Source Code Management
- Build Triggers
- Build Environment
- Build Steps
- Post-build Actions, this option are also being mentioned in the screenshot below.
Step 3: Enabling Build periodically
Now, click on “Build Trigger” option. Where you can see “Build Periodically” option, click on it and a window will be opened asking for schedule. Define a schedule by using Cron syntax.
Example:
To Set Build For Every Hour:
H * * * *
By using this Syntax your build will be executed for each hour.
Step 4: Apply Changes
Click on “Apply and save”, So that changes will be taken in account.
Then click on Build Now option to make sure that changes are applied, a message will be showed as Build Scheduled. Which means the changes are applied successfully in accordance of the cron syntax that is being set in the schedule menu.
What Is Build Periodically In Jenkins?
As we are traversing modern developments in the world and grasping the edge of AI (artificial intelligence) and automation, Jenkins stands as the helping hand for the developers with the key magic of automation. In this article, we will unravel one of the best features of Jenkins in the automation field for development.
Most of your common questions will be answered, like:
- What is the Build Periodically function of Jenkins?
- What is it capable of in the era of automation?
- and some of its key uses and profits.
So, stay tuned till the end of the article, when all aspects of the topic and your doubts will be cleared.