Build after other projects are built:在其他項(xiàng)目構(gòu)建完成后再進(jìn)行構(gòu)建。
這里又分三種情況:
①Trigger only if build is stable:其他項(xiàng)目構(gòu)建成功
②Trigger even if the build is unstable:其他項(xiàng)目不穩(wěn)定
③Trigger even if the build fails:其他項(xiàng)目構(gòu)建失敗
Build periodically:周期進(jìn)行構(gòu)建
例如:0 4 * * * ?(每天凌晨4點(diǎn)必須構(gòu)建一次源碼)
Poll SCM:根據(jù)SCM軟件的版本號(hào),
定時(shí)檢查源碼變更。如果有更新,則checkout最新code,然后執(zhí)行構(gòu)建動(dòng)作。
例如:*/10 * * * * ?(每10分鐘檢查一次源碼變化,如果有更新才build)