How to set Jenkins pipeline job to always build 'default' branch but only build other branches over night
<p>Given a Jenkins multibranch pipeline job that uses a property strategy to "suppress automatic SCM triggering" for all branches but 'default', how do you allow Jenkins to wait until night (say 7pm-6am) to build every other branch?</p>

<p>We used to be able to set the Poll SCM strategy for each job individually, which worked well. </p>

<p>Pipeline scripts allow you to set a pollSCM pipeline trigger property. However it won't get set unless the job has run at least once and there seems to be a defect where jobs are continuously triggered by scm changes, making it less useful.</p>