Jenkins快速入门2 - 安装Jenkins

2018-03-05  本文已影响0人  曾曾曾_1639

1. 在windows上安装Java JRE(Jenkins是基于Java开发的)

Download JRE: http://www.oracle.com/technetwork/java/javase/downloads/index.html

2. 检查JRE是否安装成功

3. 安装Git

https://git-scm.com/downloads

4. 检查Git是否安装成功

5. 创建GitHub账号(如果是企业内部Git,可以使用企业内部Git账号)

        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)创建代码库分支

从如下代码库Fork分支

https://github.com/wakaleo/game-of-life

8. 下载代码

9. 启动Jenkins

下载Jenkins:http://mirrors.shu.edu.cn/jenkins/windows-stable/jenkins-2.89.4.zip

到下载文件夹,双击安装

安装完成后,浏览器会打开地址:http://localhost:8080

等待Jenkins配置完成

配置完成之后会出现如下页面。选择安装推荐的插件

至此,你已经成功安装了Jenkins,下面一小节将介绍如何配置Jenkins

上一篇 下一篇

猜你喜欢

热点阅读