I want to know what is the jenkins workflow in the following scenario.
Scenario 1:
Let's say a build job takes 30 minutes to complete and in the meantime the developers submit commits 1, 2 and 3 in the 1st minute and then commits 4, 5 are submitted in the 15th minute. Will jenkins create 2 separate build jobs in the queue if the polling frequency for SCM change is 1 minute? Or will it combine all the 5 commits into a single build job?
Scenario 2:
Also, what will happen if the quiet period is set to 5 minutes with SCM polling frequency set to 1 minute, and the long running build job is running and in the meantime 5 commits come at 1st minute, 4th minute, 11th minute, 15th minute and 16th minute after the previous build job was initiated? Will it still add two build jobs to the queue? Or will it combine these 5 commits into a single build?