Cov txheej txheem:

Kuv yuav siv Jenkins hauv Azure li cas?
Kuv yuav siv Jenkins hauv Azure li cas?

Video: Kuv yuav siv Jenkins hauv Azure li cas?

Video: Kuv yuav siv Jenkins hauv Azure li cas?
Video: Khuv xim txog hnub tuag kiag 1/30/2019 2024, Kaum ib hlis
Anonim

Tsim Jenkins qhov kev pabcuam kawg

  1. Qhib Cov Kev Pabcuam nplooj ntawv hauv Azure DevOps Services, qhib lub New Service Endpoint list, thiab xaiv Jenkins .
  2. Sau ib lub npe rau kev sib txuas.
  3. Sau tus username thiab password rau koj Jenkins tus account.
  4. Xaiv Tshawb xyuas kev sib txuas los xyuas seb cov ntaub ntawv puas yog.

Kuj nug, Azure koom nrog Jenkins li cas?

Koj kawm yuav ua li cas:

  1. Tau tus qauv app.
  2. Configure Jenkins plug-ins.
  3. Configure Jenkins Freestyle project rau Node.
  4. Configure Jenkins rau Azure DevOps Services kev koom ua ke.
  5. Tsim Jenkins qhov kev pabcuam kawg.
  6. Tsim ib pab pawg xa mus rau Azure virtual tshuab.
  7. Tsim lub Azure Pipelines tso cov kav dej.

Kuv yuav siv Jenkins Azure DevOps li cas? Hauv koj Azure DevOps project, mus rau qhov Project Settings -> Service Hooks. Ces xaiv Tsim Subscription thiab xaiv Jenkins . Siv qhov "Code thawb" kev tshwm sim thiab teeb tsa cov ntxaij lim dej tshwj xeeb raws li qhov tsim nyog rau koj tsim. Tom ntej no, qhia koj qhov kawg rau Azure DevOps sib txuas lus nrog Jenkins.

Ib yam li ib tug yuav nug, koj yuav siv Jenkins hauv Azure li cas?

Tsim Jenkins pipeline

  1. Rov qab mus rau koj lub vev xaib Jenkins, thiab xaiv yam khoom tshiab.
  2. Muab lub npe rau koj txoj haujlwm kav dej, piv txwv li, "My-Java-Web-App", thiab xaiv Pipeline.
  3. Teem Jenkins nrog koj tus thawj coj pabcuam kom Jenkins tuaj yeem xa mus rau Azure yam tsis tas siv koj tus kheej daim ntawv pov thawj.
  4. Thaum koj ua tiav, xaiv Txuag.

Kuv yuav txuas mus rau Jenkins li cas?

Cov kauj ruam

  1. Nkag mus rau Jenkins Web Interface> Nkag mus ua Tus Thawj Coj> Tswj Jenkins> Txhim Kho Kev Nyab Xeeb Ntiaj Teb.
  2. Xaiv lub checkbox kom muaj kev ruaj ntseg.
  3. TCP chaw nres nkoj rau JNLP qhev cov neeg sawv cev rau 9000.
  4. Xaiv LDAP los ntawm ntu Access Control (Security Realm) thiab nkag mus rau koj qhov chaw nyob LDAP server:

Pom zoo: