Challenge - 5 Problems
Poll SCM Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate2:00remaining
Understanding Poll SCM Cron Syntax
What is the effect of the following Poll SCM cron schedule in Jenkins?
H/15 * * * *
Attempts:
2 left
💡 Hint
The 'H' character in Jenkins cron means a hashed value to spread load.
✗ Incorrect
The 'H/15' means Jenkins will pick a random minute offset and then poll every 15 minutes from that offset, preventing all jobs from polling at the same time.
❓ Configuration
intermediate2:00remaining
Correct Poll SCM Configuration for Hourly Polling
Which Poll SCM cron expression correctly configures Jenkins to poll the SCM once every hour at the 0th minute?
Attempts:
2 left
💡 Hint
Look for the expression that triggers at minute zero of every hour.
✗ Incorrect
The expression '0 * * * *' means at minute 0 of every hour, poll SCM once.
❓ Troubleshoot
advanced2:00remaining
Poll SCM Not Triggering Builds
A Jenkins job is configured with Poll SCM using the schedule 'H/10 * * * *' but no builds are triggered even though the repository has changes. What is the most likely cause?
Attempts:
2 left
💡 Hint
Check permissions and access rights first when polling does not detect changes.
✗ Incorrect
If Jenkins cannot access the SCM repository due to permission issues, polling will not detect changes and no builds will trigger.
✅ Best Practice
advanced2:00remaining
Efficient Poll SCM Scheduling
Which Poll SCM schedule is best to reduce load on the SCM server when multiple Jenkins jobs poll frequently?
Attempts:
2 left
💡 Hint
Hashed offsets help distribute polling times evenly.
✗ Incorrect
Using 'H/5' spreads polling every 5 minutes but staggered per job, reducing simultaneous load spikes on SCM.
🧠 Conceptual
expert2:00remaining
Poll SCM Behavior with Multiple Branches
In a Jenkins Multibranch Pipeline, how does Poll SCM behave when configured with a schedule like 'H/15 * * * *'?
Attempts:
2 left
💡 Hint
Multibranch pipelines treat branches as separate jobs with their own schedules.
✗ Incorrect
Each branch job gets its own hashed polling schedule, so polling is spread out evenly across branches.