How To Configure Poll SCM Jenkins ? (original) (raw)

Last Updated : 23 Jul, 2025

Jenkins is an open-source automation server, that allows us to automate the software development process through continuous integration, continuous testing, and continuous deployment/delivery with seamless integration of different plugins like git, maven, sonar qube, frog, tomcat, etc...One such crucial feature is the Poll SCM (Source Code Management) option, enabling Jenkins to periodically check your version control system for changes and trigger builds accordingly. Which mainly helps Developers or DevOps engineers integrate their newly developed code into the CI pipeline.

**Jenkins Concepts

Step-by-Step Configuration Of Jenkins Poll SCM

**Step 1: Access Jenkins Dashboard

Jenkins Dashboard

**Step 2: Create or Select a Jenkins Job

J2-create-job

**Step 3: Configure Source Code Management

Get a repository link from Github and provide required credentials.

Choose a branch specifier to trigger

**Step 4: Enable Poll SCM under Build Triggers

Choosing build trigger poll SCM

**Step 5: Triggering Builds

**Example Scenario Of Jenkins Poll SCM Trigger

Let's consider a scenario where you are working on a new feature for the project and you want Jenkins to build your project after working hour, lets say 7PM every day. So you have adjusted the cron format as below.

**Scenario Case: Enable Poll SCM and set the cron expression to `0 19 * * *` for checking changes every day at 7 PM. Now, Jenkins will check the Git repository for changes everyday at 7 PM, triggering a build if any new commits are detected.