If you were tasked with building a Jenkins pipeline to run scheduled jobs, how would you set this up? Could you provide examples of time-based triggers for nightly builds or periodic tests?
The question explores setting up scheduled tasks in Jenkins to automate periodic actions like nightly builds, regression tests, or cleanup jobs. It seeks details on configuring time-based triggers using cron syntax and ensuring pipelines execute reliably at specified intervals.