Complete the code to enable polling the SCM every 15 minutes.
triggers {
pollSCM('[1]')
}The cron syntax H/15 * * * * means Jenkins polls the SCM every 15 minutes.
Complete the code to trigger a build when a webhook is received.
triggers {
[1]()
}The githubPush() trigger starts a build when a webhook from GitHub is received.
Fix the error in the timer trigger syntax to run every day at midnight.
triggers {
timer('[1]')
}The correct cron syntax for midnight daily is 0 0 * * *.
Fill both blanks to set up polling every 10 minutes and a timer at 2 AM daily.
triggers {
pollSCM('[1]')
timer('[2]')
}H/10 * * * * polls every 10 minutes, and 0 2 * * * triggers at 2 AM daily.
Fill all three blanks to configure polling every 5 minutes, webhook trigger, and timer at 11 PM.
triggers {
pollSCM('[1]')
[2]()
timer('[3]')
}Polling every 5 minutes uses H/5 * * * *, webhook trigger is githubPush(), and timer at 11 PM is 0 23 * * *.