Jenkins 全天運行構建和測試 (Jenkins running builds and tests all day long)


問題描述

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

(by DizzlevanvalDizzle)

參考文件

  1. Jenkins running builds and tests all day long (CC BY‑SA 2.5/3.0/4.0)

#java #jenkins-plugins #continuous-integration #jenkins #continuous-deployment






相關問題

電子郵件地址中帶有 + 字符的 Java 郵件 (Java mail with + character in email address)

如何快速原型化 Java 代碼? (How to quickly prototype Java code?)

如何使用 Maven 在目標(SVN-)服務器上創建 Javadoc? (How to create Javadoc on the target (SVN-) server using Maven?)

為什麼檢查二叉樹有效性的解決方案不起作用? (Why the solution for checking the validity of binary tree is not working?)

Selenium webdriver通過第一個數字找到texy (Selenium webdriver find texy by first digits)

setOnClickListener 沒有在圖像視圖上被調用 (setOnClickListener is not getting called on image view)

繪製多邊形:找不到錯誤 (Drawing Polygon : unable to find error)

半透明 JButton:對像出現在背景中 (Semi-Transparent JButton: Objects appear in Background)

比較同一數組的元素 (Compare elements of the same array)

Java 屏幕截圖小程序 (Java screen capture applet)

Minecraft 1.8.9 Forge Modding 的Java 開發工具包,需要什麼JDK/JRE,代碼是否正確? (Java Development Kit with Minecraft 1.8.9 Forge Modding, What JDK/JRE Is Needed, Is Code Correct?)

java while (resultset.next()) 不返回同一列中的所有數據 (java while (resultset.next()) does not return all data in the same column)







留言討論