Jenkins config file nyob qhov twg?
Jenkins config file nyob qhov twg?

Video: Jenkins config file nyob qhov twg?

Video: Jenkins config file nyob qhov twg?
Video: Jenkins Beginner Tutorial 6 - Basic Configurations 2024, Kaum ib hlis
Anonim

6 Teb. Jenkins khaws cov kev teeb tsa rau txhua txoj haujlwm hauv ib daim ntawv teev npe hauv cov haujlwm /. Txoj hauj lwm configuration file yog config . xml , cov tsim tau muab khaws cia rau hauv kev tsim /, thiab cov ntaub ntawv ua haujlwm yog chaw ua haujlwm /.

Kuj kom paub yog, Jenkins config file Ubuntu nyob qhov twg?

Jenkins kev pabcuam khiav nrog nws tus neeg siv lub npe 'jenkin'. Yog hais tias koj xav tau hloov kho cov configurations ntawm Jenkins raws li koj xav tau, ces koj tuaj yeem nrhiav nws configuration file nyob rau hauv '/etc/default/' directory thiab tuaj yeem hloov pauv.

Tsis tas li ntawd, kuv yuav txuag Jenkins configuration li cas? Backup Configuration

  1. Mus rau Tswj Jenkins -> ThinBackup.
  2. Nyem qhov kev xaiv xaiv.
  3. Nkag mus rau cov kev xaiv thaub qab raws li qhia hauv qab no thiab txuag nws.
  4. Tam sim no, koj tuaj yeem sim yog tias qhov thaub qab ua haujlwm los ntawm txhaj rau qhov kev xaiv thaub qab tam sim no.
  5. Yog tias koj tshawb xyuas cov npe thaub qab hauv server, koj tuaj yeem pom cov thaub qab tsim.

Qhov thib ob, Jenkins cov npe tsev nyob qhov twg?

Koj ua tau nrhiav qhov chaw tam sim no Jenkins home directory los ntawm kev nkag mus rau hauv Jenkins nplooj. Thaum nkag rau hauv, mus rau 'Manage Jenkins ' & xaiv cov kev xaiv 'Configure System'. Ntawm no thawj yam koj yuav saib yuav yog txoj hauv kev rau koj Jenkins Home Directory . Tam sim no peb yuav tsim ib qho tshiab nplaub tshev rau kev khaws cia cov jenkins.

Jenkins khw tsim cov cav qhov twg?

Jenkins khaws cov kev teeb tsa rau txhua txoj haujlwm hauv ib daim ntawv teev npe hauv cov haujlwm /. Cov ntaub ntawv teeb tsa txoj haujlwm yog config. xml, ua tsim yog khaws cia rau hauv tsim /, thiab cov npe ua haujlwm yog chaw ua haujlwm /.

Pom zoo: