Keywords:Jenkins 安裝、git plugin、git clone
1.安裝jenkins
前提:開發環境:mac ,已安裝Hombrew
➜ ~ brew instal jenkins複製程式碼
2.啟動jenkins
➜ ~ jenkins start
......
Jenkins initial setup is required. An admin user has been created and a password generated.
Please use the following password to proceed to installation:
1e398714de71476a82ef8c29a5591f0c //瀏覽器啟動的admin 密碼,首次安裝啟動會有這個日誌,如果沒有注意,後邊登入會有點小麻煩
This may also be found at: /Users/liuhe/.jenkins/secrets/initialAdminPassword複製程式碼
3.啟動Jenkins
瀏覽器輸入:http://localhost:8080/複製程式碼
4.安裝plugin
引導頁的沒有截圖,以下是啟動後管理頁面截圖
可選外掛-包含各個平臺相關外掛,安裝必要外掛 如git plugin==
5.Jenkins首頁
6.構建專案(New Item)
從github或者gitlab clone程式碼