I can have my master branch jobs run hourly like this:
String cron_string = BRANCH_NAME == "master" ? "@hourly" : "" pipeline {