Cov txheej txheem:

Jenkins puas tuaj yeem siv los ua tus teem sijhawm?
Jenkins puas tuaj yeem siv los ua tus teem sijhawm?

Video: Jenkins puas tuaj yeem siv los ua tus teem sijhawm?

Video: Jenkins puas tuaj yeem siv los ua tus teem sijhawm?
Video: Nuj Xeem Muas_Nkauj Tawm Tshiab "😪💘ແຄມຂອງ Koj Puas Tuaj Lawm💖😪" [Official MV] 2022 2024, Kaum ib hlis
Anonim

Jenkins raws li txoj haujlwm system tus teem sijhawm . Jenkins yog ib qho qhib software cuab yeej, feem ntau siv rau kev sib koom ua ke tsis tu ncua hauv kev txhim kho software. Piv txwv li, hloov configuration lossis firewall txoj cai nruab ua tau yuav scripted thiab khiav manually los yog teem rau hauv Jenkins (hu ua 'builds', 'jobs' or 'projects').

Ib yam li ntawd, koj tuaj yeem nug, Kuv yuav teem sijhawm ua haujlwm Jenkins ua haujlwm li cas txhua hnub?

Cov kauj ruam rau teem caij ua hauj lwm hauv Jenkins:

  1. nyem rau ntawm "Configure" ntawm txoj haujlwm xav tau.
  2. scroll down mus rau "Tsim Tig" - subtitle.
  3. Nyem rau ntawm lub checkBox ntawm Tsim ib ntus.
  4. Ntxiv lub sij hawm teem sij hawm nyob rau hauv lub Schedule teb, piv txwv li, @midnight.

Kuj Paub, qhov twg hauv qab no tuaj yeem siv los tsim lub sijhawm hauv Jenkins? Koj tuaj yeem teem sijhawm tsim hauv Jenkins hauv cov hauv qab no:

  • Los ntawm qhov chaws tswj kev cog lus.
  • Tom qab ua tiav ntawm lwm cov kev tsim.
  • Yuav teem caij khiav ntawm lub sijhawm (crons)
  • Phau Ntawv Thov Tsim.

Tom qab ntawd, kuv yuav teem sijhawm ntau txoj haujlwm hauv Jenkins li cas?

Yog nws ua tau. Mus rau koj txoj hauj lwm -> configuration thiab check: Execute concurrent builds yog tias tsim nyog. Doc: Yog tias qhov kev xaiv no raug kuaj, Jenkins yuav teem caij thiab ua ntau tsim concurrently (muab hais tias koj muaj txaus executors thiab cov lus thov tsim.)

Koj ua haujlwm li cas hauv Jenkins?

Txhawm rau siv qhov no ua raws cov kauj ruam hauv qab no

  1. Kauj ruam 1 - Mus rau Tswj Jenkins → Tswj Plugins.
  2. Kauj ruam 2 - Mus rau koj qhov project Tsim thiab nyem qhov Configure xaiv.
  3. Kauj ruam 3 - Nyob rau hauv Deploy tsov rog / pob ntseg mus rau ib lub thawv seem, nkag mus rau cov ntsiab lus xav tau ntawm lub server uas cov ntaub ntawv yuav tsum tau deployed thiab nyem rau ntawm lub pob Txuag.

Pom zoo: