25

linux环境下搭建Jenkins持续集成(Jenkins+git+shell+maven+tomact)

 3 years ago
source link: http://www.cnblogs.com/xinhua19/p/12709422.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

准备环境

jenkins.war包 ,jdk1.8  ,tomact , maven,git

1.Jenkins  war包,下载地址 https://jenkins.io/zh/download/ ,当然你可以通过wget 下载, 也可以通过xftp远程传输

2. jdk1.8   配置方法步骤详见 https://www.cnblogs.com/xinhua19/p/12708493.html

3.tomact包   下载地址 https://tomcat.apache.org/download-90.cgi

BB7VjiU.png!web

4.git包, 安装配置方法详情见 https://www.cnblogs.com/xinhua19/p/12721342.html

5.maven包 https://maven.apache.org/download.cgi ZVzeIfn.png!web

1,准备环境准备完毕

解压缩JAVA包,存放在/usr目录

解压缩tomact包 ,存入/usr目录

启动tomact成功后,停止tomact          ./catalina.sh run    ./start.sh          sh shutdown.sh

将jenkins.war包存放在tomact下webapps的目录中

启动tomact

IP+端口号/Jenkins   访问jenkins

部署tomact后启动jenkins

2.初次启动时 准备所需插件比较慢 需要等待很久

3yqYjeu.png!web

VNZfAbE.png!web

Fn6rM3y.png!web

全部准备完成后

veYn6zN.png!web

这一步是Jenkins的汉化

bYzaEvI.png!web

zUfy6rQ.png!web

Jenkins搭建成功啦,现在剩下的就是Jenkins的各个配置


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK