Jenkins构建管道预定触发器 [英] Jenkins Build Pipeline Scheduled Trigger
本文介绍了Jenkins构建管道预定触发器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何安排构建管道在晚上的某个特定时间执行,就像执行常规工作一样?
How can a build pipeline be scheduled to execute at a certain time of the night just like a regular job can be?
推荐答案
声明性管道具有triggers
指令,如下所示使用它:
Declarative pipeline has triggers
directive, one uses it like this:
triggers { cron('H 4/* 0 0 1-5') }
我从管道语法文档
这篇关于Jenkins构建管道预定触发器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文