Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between Poll SCM & build periodically in Jenkins?

Tags:

cron

jenkins

In both it takes cron expression as input, so what's the actual difference between these two.

like image 718
Sathish Avatar asked Dec 13 '16 05:12

Sathish


People also ask

What is the difference between poll SCM & build periodically in Jenkins?

"Poll SCM" polls the SCM periodically for checking if any changes/ new commits were made and shall build the project if any new commits were pushed since the last build, whereas the "build" shall build the project periodically irrespective to whether or not any changes were made.

What does SCM mean in Jenkins?

This option instructs Jenkins to obtain your Pipeline from Source Control Management (SCM), which will be your locally cloned Git repository.

What is SCM build?

Summary: A number of people work together to develop a software application. The application is useful only when the components each person works on come together: the process of integration.


1 Answers

Poll SCM periodically polls the SCM to check whether changes were made (i.e. new commits) and builds the project if new commits where pushed since the last build, whereas build periodically builds the project periodically even if nothing has changed.

like image 146
tkausl Avatar answered Sep 19 '22 07:09

tkausl