Cov txheej txheem:

Jenkins pipeline plugin yog dab tsi?
Jenkins pipeline plugin yog dab tsi?

Video: Jenkins pipeline plugin yog dab tsi?

Video: Jenkins pipeline plugin yog dab tsi?
Video: Complete Jenkins Pipeline Tutorial | Jenkinsfile explained 2024, Hlis ntuj nqeg
Anonim

Hauv cov lus yooj yooj yim, Jenkins Pipeline yog kev sib txuas ntawm plugins uas txhawb kev koom ua ke thiab kev siv ntawm kev xa mus tas li cov kav dej siv Jenkins . A cov kav dej muaj ib tug extensible automation server rau tsim yooj yim los yog complex xa cov kav dej "raws li code," via cov kav dej DSL (Domain-specific Language).

Yog li, dab tsi yog kev siv cov kav dej hauv Jenkins?

Jenkins Pipeline (los yog yooj yim " Cov kav dej ") yog ib lub suite ntawm plugins uas txhawb nqa kev siv thiab kev koom ua ke txuas mus ntxiv cov kav dej rau hauv Jenkins . Kev xa khoom tsis tu ncua cov kav dej yog ib qho kev qhia tsis siv neeg ntawm koj cov txheej txheem kom tau txais software los ntawm kev tswj hwm txoj cai los ntawm koj cov neeg siv thiab cov neeg siv khoom.

Jenkins cov ntaub ntawv yog dab tsi? Tsim ib Jenkinsfile . Raws li tau tham nyob rau hauv Defining a Pipeline hauv SCM, a Jenkinsfile yog ntawv ntaub ntawv uas muaj cov ntsiab lus ntawm a Jenkins Pipeline thiab raug txheeb xyuas hauv qhov chaw tswj. Xav txog cov Pipeline hauv qab no uas siv cov kav dej txuas mus txuas ntxiv peb-theem.

Ib yam li ntawd, tib neeg nug, Kuv yuav ua li cas thiaj li khiav lub raj xa dej hauv Jenkins?

Txhawm rau tsim cov raj xa dej yooj yim los ntawm Jenkins interface, ua cov kauj ruam hauv qab no:

  1. Nyem Cov Khoom Tshiab ntawm koj lub vev xaib Jenkins, sau npe rau koj txoj haujlwm (pipeline), xaiv Pipeline, thiab nyem OK.
  2. Nyob rau hauv Script text area ntawm lub configuration screen, nkag mus rau koj pipeline syntax.

Dab tsi yog pipeline tsab ntawv hauv Jenkins?

Cov kav dej yog suite Jenkins plugins. Cov kav dej tuaj yeem pom raws li ib theem ntawm cov theem los ua cov haujlwm tsuas yog cov ncauj lus kom ntxaws, ntawm lwm tus, yog li muab kev tso tawm tas li ntawm koj daim ntawv thov.

Pom zoo: