Kuv yuav ntxiv git daim ntawv pov thawj hauv Jenkins pipeline li cas?
Kuv yuav ntxiv git daim ntawv pov thawj hauv Jenkins pipeline li cas?

Video: Kuv yuav ntxiv git daim ntawv pov thawj hauv Jenkins pipeline li cas?

Video: Kuv yuav ntxiv git daim ntawv pov thawj hauv Jenkins pipeline li cas?
Video: Quas Koj Ntxhais Rau Kuv Tub - Cai Hawj Feat. Maiv Xis Vaj「Official MV」 2024, Kaum ib hlis
Anonim

Teeb Jenkins Credentials rau Git

Rau ntxiv a daim ntawv pov thawj , nyem rau ntawm " Ntxiv ”nrog rau” Cov ntawv pov thawj "-> Xaiv " Jenkins Daim Ntawv Pov Thawj Tus kws kho mob", qhov no yuav tso tawm cov hauv qab no ntxiv cov ntawv pov thawj npo. Domain: Los ntawm lub neej ntawd “Ntiaj Teb cov ntaub ntawv pov thawj (tsis txwv)” raug xaiv. Lwm qhov kev xaiv yog: " Tus neeg siv lub npe thiab tus password ”. Siv lub neej ntawd.

Hauv qhov no, kuv yuav ntxiv cov ntawv pov thawj git rau Jenkins li cas?

Teeb Jenkins Credentials rau Git Rau ntxiv a daim ntawv pov thawj , nyem rau ntawm " Ntxiv ”nrog rau” Cov ntawv pov thawj "-> Xaiv " Jenkins Daim Ntawv Pov Thawj Tus kws kho mob", qhov no yuav tso tawm cov hauv qab no ntxiv cov ntawv pov thawj npo. Domain: Los ntawm lub neej ntawd “Ntiaj Teb cov ntaub ntawv pov thawj (tsis txwv)” raug xaiv. Lwm qhov kev xaiv yog: "Username thiab password". Siv lub neej ntawd.

Tsis tas li, kuv yuav ntxiv SSH daim ntawv pov thawj hauv Jenkins li cas? Ntxiv SSH Ntsiab sab hauv Jenkins Tam sim no mus rau Cov ntawv pov thawj los ntawm sab laug pane sab hauv Jenkins console thiab ces nyem thoob ntiaj teb: Tom qab no, xaiv ' Ntxiv Daim Ntawv Pov Thawj ': Qhov no yuav qhib daim ntawv tshiab rau peb. Hauv hom dropdown, xaiv ' SSH username nrog tus yuam sij ntiag tug' thiab tom qab ntawd muab lub npe rau nws.

Ib yam li ntawd, kuv yuav ntxiv cov ntawv pov thawj rau Jenkins pipeline li cas?

Los ntawm Jenkins home page (ie Dashboard ntawm lub Jenkins classic UI), nyem Cov ntawv pov thawj > System ntawm sab laug. Hauv System, nyem lub Ntiaj Teb cov ntaub ntawv pov thawj (tsis txwv) txuas kom nkag mus rau qhov chaw sau npe no. Nyem Ntxiv Daim Ntawv Pov Thawj ntawm sab laug.

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.

Pom zoo: