how do i identify when a multibranch job has been triggered by a cron schedule?

后端 未结 0 1500
伪装坚强ぢ
伪装坚强ぢ 2020-12-04 02:49

I can have my master branch jobs run hourly like this:

String cron_string = BRANCH_NAME == "master" ? "@hourly" : ""

pipeline {         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题