1. Jenkins 入门使用

1. 下载jenkins

https://pkg.jenkins.io/redhat-stable/

sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
yum install jenkins

查找下载的jenkins
find / -name jenkins.war
安装说明文档
https://jenkins.io/doc/book/installing/

查看内存剩余大小
free -m

 2. 直接下载jenkins.war

https://jenkins.io/doc/pipeline/tour/getting-started

Download Jenkins.

Open up a terminal in the download directory.

Run java -jar jenkins.war --httpPort=8080.

Browse to http://localhost:8080.

3.  需要配置maven

也可以在构建中配置

 4, 需要生成git ssh证书

参考https://blog.csdn.net/lsyz0021/article/details/52064829

posted @ 2018-05-26 18:06  梦见舟  阅读(126)  评论(0编辑  收藏  举报