Cov txheej txheem:

Kuv yuav nrhiav tau kuv Jenkins username thiab password li cas?
Kuv yuav nrhiav tau kuv Jenkins username thiab password li cas?

Video: Kuv yuav nrhiav tau kuv Jenkins username thiab password li cas?

Video: Kuv yuav nrhiav tau kuv Jenkins username thiab password li cas?
Video: koj yuav tau kuv txhaum by zoo xyooj nkauj tshiab ~ MV 2024, Hlis ntuj nqeg
Anonim

1 Teb

  1. Rau qhov no tus neeg siv lub npe yog admin. Tus password yuav tsum nyob rau hauv: $JENKINS_HOME/secrets/initialAdminPassword.
  2. Koj saib tau tus password siv: cat /var/lib/ cov jenkins /secrets/initialAdminPassword.
  3. miv $JENKINS_HOME/secrets/initialAdminPassword.

Ib yam li ib tug yuav nug, Kuv tuaj yeem pom kuv daim ntawv pov thawj Jenkins li cas?

Ib “Manage Cov ntawv pov thawj ” screen rau ntawm “Manage Jenkins ” npo tso cai rau koj tswj hwm qhov system thiab thoob ntiaj teb cov ntaub ntawv pov thawj . Yog koj siv Jenkins kev ruaj ntseg, thaum koj mus rau "Cov neeg siv" / koj tus username / "Configure" koj yuav saib kev xaiv los tswj tus kheej cov ntaub ntawv pov thawj.

Ib yam li ntawd, kuv yuav hloov kuv tus username thiab password li cas Jenkins? Kauj ruam 1: Ntaus 'admin' hauv User textbox.

  1. Kauj ruam 2: Tam sim no mus rau lub Secrets nplaub tshev hauv koj.
  2. Kauj ruam 3: Qhib nws hauv Notepad kom nyeem tau nws.
  3. Kauj ruam 4: Cov ntaub ntawv yuav tsum muaj tus password.
  4. Kauj ruam 5: Muab lo lus zais rau hauv lub thawv ntawv lo lus zais.
  5. Kauj ruam 6: Txhawm rau ua qhov ntawd tsuas yog nyem rau ntawm Cov Kev xaiv Neeg nyob rau sab laug-tes sidebar.

Ib yam li ntawd, tib neeg nug, Kuv yuav nkag mus rau Jenkins li cas yam tsis muaj tus password?

Quick HOWTO: Pib dua Jenkins Admin Password

  1. Txhawm rau rov pib dua jenkins admin lo lus zais, Koj tuaj yeem tsuas lov tes taw kev ruaj ntseg hauv kev teeb tsa.
  2. Yog tias koj jenkins tab tom khiav ntawm Linux OS, kho cov ntaub ntawv hauv qab no.
  3. Nrhiav lo lus tseeb
  4. Restart Jenkins server.
  5. Tam sim no mus rau Jenkins portal dua thiab Jenkins yuav tsis nug cov ntaub ntawv pov thawj lub sijhawm no.

Jenkins default username thiab password yog dab tsi?

admin

Pom zoo: