Webhook, pollSCM or cron?
QuizMediumAsked in: Accenture, Capgemini, Infosys, TCS, Wipro
The smoke suite should run within a minute of every push, and the full regression suite once a night. (A webhook is a message that the Git host sends to Jenkins when something happens; pollSCM makes Jenkins ask the Git host on a schedule whether there are new commits.) Which setup fits best?
- A webhook from the Git host triggers the smoke job on each push; the regression job uses triggers { cron('H 1 * * *') }
- Both jobs use pollSCM every minute
- Both jobs are started by hand
- The regression job uses upstream on the smoke job
This question is part of Pro+
Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.