Cov chaw ua haujlwm yog qhov twg Jenkins tsim koj qhov project: nws muaj qhov chaws uas Jenkins kos tawm, ntxiv rau txhua cov ntaub ntawv tsim los ntawm kev tsim nws tus kheej. Qhov chaw ua haujlwm no rov siv dua rau txhua qhov kev tsim ua tiav.
Jenkins chaw ua haujlwm nyob qhov twg?
Lawv (feem ntau) tsis muaj qhov chaws zoo li qhov chaw ua haujlwm. Cov khoom tsim tau khaws cia hauv the Jenkins\jobs\[projectName]\builds\[build_id]\ directory.
Koj teeb qhov chaw ua haujlwm hauv Jenkins li cas?
To set these:
- Navig rau Jenkins -> Tswj Jenkins -> Configure System.
- Txoj cai nyob rau sab saum toj, hauv qab Daim Ntawv Qhia Hauv Tsev, nyem qhov Advanced… …
- Tam sim no cov teb rau Workspace Root Directory thiab tsim cov ntaub ntawv hauv paus Directory tshwm:
Dab tsi yog qhov chaw ua haujlwm nyob hauv Jenkins?
Los ntawm lub neej ntawd, koj qhov chaw ua haujlwm Jenkins yuav yog tus hais hauv JENKINS_HOME. Koj yuav tsum xyuas kom meej tias yog tus tswv los ntawm tus neeg siv koj teev hauv JENKINS_USER kom muaj Jenkins nkag mus rau cov ntaub ntawv. Yog li yog tias koj xav hloov qhov chaw ua haujlwm Jenkins, txhua yam koj tau ua yog hloov txoj hauv kev ntawm koj JENKINS_HOME.
Kuv puas tuaj yeem tshem tawm Jenkins chaw ua haujlwm?
Txhawm rau ntxuav qhov chaw ua haujlwm ua ntej tsim: Hauv Build Environment, kos lub thawv uas hais tias Tshem tawm qhov chaw ua haujlwm ua ntej pib tsim. Txhawm rau ntxuav qhov chaw ua haujlwm tom qab tsim: Nyob rau hauv nqe lus Post-build Actions xaiv Delete workspace thaum tsim ua tiav los ntawm Add Post-build Actions poob.menu.