1. 在windows上安裝Java JRE(Jenkins是基于Java開(kāi)發(fā)的)
Download JRE: http://www.oracle.com/technetwork/java/javase/downloads/index.html
2. 檢查JRE是否安裝成功
3. 安裝Git
https://git-scm.com/downloads
4. 檢查Git是否安裝成功
5. 創(chuàng)建GitHub賬號(hào)(如果是企業(yè)內(nèi)部Git玖详,可以使用企業(yè)內(nèi)部Git賬號(hào))
????????https://github.com/
6. 配置SSH秘鑰
https://help.github.com/articles/set-up-git/#setting-up-git
https://help.github.com/articles/set-up-git/#connecting-over-ssh
7. (Fork)創(chuàng)建代碼庫(kù)分支
從如下代碼庫(kù)Fork分支
https://github.com/wakaleo/game-of-life
8. 下載代碼
9. 啟動(dòng)Jenkins
下載Jenkins:http://mirrors.shu.edu.cn/jenkins/windows-stable/jenkins-2.89.4.zip
到下載文件夾,雙擊安裝
安裝完成后,瀏覽器會(huì)打開(kāi)地址:http://localhost:8080
等待Jenkins配置完成
配置完成之后會(huì)出現(xiàn)如下頁(yè)面胡本。選擇安裝推薦的插件
至此钟鸵,你已經(jīng)成功安裝了Jenkins譬猫,下面一小節(jié)將介紹如何配置Jenkins
吮龄、