Jenkins ua haujlwm nrog Docker li cas?
Jenkins ua haujlwm nrog Docker li cas?

Video: Jenkins ua haujlwm nrog Docker li cas?

Video: Jenkins ua haujlwm nrog Docker li cas?
Video: Худшая певица в мире (16+) | Florence Foster Jenkins 2024, Hlis ntuj nqeg
Anonim

Jenkins yog siv los tsim thiab xa koj daim ntawv thov los ntawm qhov chaws. Koj tuaj yeem khiav koj daim ntawv thov sab hauv Docker thawv. Jenkins tuaj yeem tsim cov Docker duab nrog koj daim ntawv thov thiab thawb nws mus rau pej xeem lossis ntiag tug Docker npe.

Ib yam li ib tug yuav nug, Jenkins puas txhawb Docker?

Siv cov Docker Ntiaj teb no hloov pauv hauv koj Jenkins Pipeline Ntau thiab ntau niaj hnub no, kev xa khoom tsis tu ncua (CD) cov kav dej tau siv cov ntim khoom. Hauv ntau qhov kev siv, qhov tseem ceeb ntawm kev ua haujlwm / kev tsim khoom siv rau CD pipelines yog Jenkins . Thiab thawj lub thawv orchestration cuab yeej yog Docker.

Tom qab ntawd, lo lus nug yog, qhov txawv ntawm Jenkins thiab Docker yog dab tsi? Docker yog lub cav ntim khoom uas tuaj yeem tsim thiab tswj cov ntim khoom, whereas Jenkins yog lub cav CI uas tuaj yeem khiav tsim / sim ntawm koj lub app. Docker yog siv los tsim thiab khiav ntau qhov chaw txav chaw ntawm koj cov software pawg. Jenkins yog ib qho kev xeem software uas siv tau rau koj lub app.

Tsis tas li ntawd, kuv yuav txuas Jenkins rau Docker li cas?

Docker plugin yog kev siv "Cloud". Koj yuav tau kho Jenkins system configuration ( Jenkins > Tswj > System configuraiton) thiab ntxiv huab tshiab hom " Docker ". Configure Docker (lossis Swarm standalone) API URL nrog cov ntawv pov thawj xav tau. Ib lub pob kuaj cia koj kev sib txuas nrog API tau teeb tsa zoo.

Jenkins ua haujlwm li cas?

Jenkins yog qhov qhib qhov cuab yeej automation sau hauv Java nrog cov plugins tsim rau lub hom phiaj kev koom ua ke txuas ntxiv. Jenkins yog siv los tsim thiab sim koj cov haujlwm software txuas ntxiv ua rau nws yooj yim dua rau cov neeg tsim khoom los koom ua ke cov kev hloov pauv rau qhov project, thiab ua kom yooj yim rau cov neeg siv kom tau txais kev tsim tshiab.

Pom zoo: