0
0
Jenkinsdevops~10 mins

Poll SCM configuration in Jenkins - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to set the polling schedule to every 15 minutes in Jenkins.

Jenkins
pollSCM('H/[1] * * * *')
Drag options to blanks, or click blank then click option'
A30
B5
C60
D15
Attempts:
3 left
💡 Hint
Common Mistakes
Using 60 will poll only once per hour, not every 15 minutes.
Using 5 will poll too frequently if 15 is desired.
2fill in blank
medium

Complete the code to poll SCM every day at midnight.

Jenkins
pollSCM('H [1] * * *')
Drag options to blanks, or click blank then click option'
A12
B0
C24
D1
Attempts:
3 left
💡 Hint
Common Mistakes
Using 12 schedules noon, not midnight.
Using 24 is invalid in cron syntax.
3fill in blank
hard

Fix the error in the polling schedule to poll every 10 minutes.

Jenkins
pollSCM('H/[1] * * * *')
Drag options to blanks, or click blank then click option'
A10
B5
C15
D20
Attempts:
3 left
💡 Hint
Common Mistakes
Using 5 polls every 5 minutes, not 10.
Using 15 or 20 polls less frequently.
4fill in blank
hard

Fill both blanks to poll SCM every Monday at 3 AM.

Jenkins
pollSCM('H [1] * * [2]')
Drag options to blanks, or click blank then click option'
A3
B0
C1
D7
Attempts:
3 left
💡 Hint
Common Mistakes
Using 0 for hour schedules midnight, not 3 AM.
Using 7 for day of week means Sunday, not Monday.
5fill in blank
hard

Fill all three blanks to poll SCM every weekday at 6:30 AM.

Jenkins
pollSCM('30 [1] * * [2]-[3]')
Drag options to blanks, or click blank then click option'
A6
B1
C5
D7
Attempts:
3 left
💡 Hint
Common Mistakes
Using 7 includes Sunday, which is not a weekday.
Using hour 30 is invalid.