問題描述
Jenkins 全天運行構建和測試 (Jenkins running builds and tests all day long)
我希望 Jenkins 處於運行已配置作業的永久循環中。
我如何配置 Jenkins 以全天保持運行構建和測試並僅保留日誌結果?
參考解法
方法 1:
You can set the job to run periodically every 10 minutes by going to the job configuration. There enable the checkbox ‑ "Build periodically" and set the time format ‑ Eg: this builds it every 15 minutes ‑ H/15 * * * *
方法 2:
Thanks to vanval, as he pointed me in the right direction by searching for "building periodically" you can find more answers here: https://superuser.com/questions/751103/need‑to‑schedule‑a‑job‑every‑hour‑in‑jenkins
especially here: https://superuser.com/a/751110