简体   繁体   中英

Disable Jenkins multibranch pipeline trigger on every commit

I have a multibranch pipeline which is triggered after every commit, I want to disable every commit run and just set a trigger for a simple nightly test build

You can set a CRON Job for this which will ensure that the Job will get triggered only once at the set time. Let's assume that you need to run the build at 11 PM daily.

then following are the steps:

Under Build Triggers section

there is a option for Build Periodically enable it

0 23 * * *

Now this job will run every day at 11 PM or 23 hrs in the night.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM