How to configure Poll Scm in Jenkins
To configure Poll Scm in Jenkins follow the given steps below:
Step 1: Login to Jenkins Dashboard
This is first step to configure Poll Scm in Jenkins, login to your Jenkins dashboard using your user id and password.
Step 2: Create or Select a Job
Now after login to Jenkins dashboard , choose a job in Jenkins or either create a new one.
Step 3: Configure Poll Scm
After selecting the Job, Navigate to the left side of the panel and choose the configure option.
Now , Navigate to the build trigger section , and check the the poll scm.
Step 4: Cron Expression
Enter the cron expression, suppose you want Jenkins to check the changes in every 15 minutes . You can write a cron expression for it as follow:
H/15 * * * *
Step 5: Save the changes
Now, save the changes to apply Poll Scm configuration in your Job.
You have successfully configured Poll Scm in Jenkins
What Is Poll SCM Jenkins ?, And How To Configure Poll Scm ?
Jenkins is one of the most popular open-source automation servers that provides an interface for building, testing, and deploying code. One of its essential key features is that it can trigger builds automatically based on the changes made in the source code repository. This process is known as polling SCM (Source Code Management). In this article, we will be going to discuss Poll SCM and how we can configure Poll SCM in Jenkins in detail.