美文网首页
mac平台,jenkins搭建

mac平台,jenkins搭建

作者: bluepang | 来源:发表于2021-05-22 10:19 被阅读0次

1、下载tomcat包,选择Core-tar.gz:https://tomcat.apache.org/download-90.cgi

2、解压tomcat包,把解压后的文件夹移动到当前用户的Library目录下,如:/Users/yangkang/Library

3、添加环境变量

vim ~/.bash_profile,编辑环境变量文件

输入:export PATH=/Users/yangkang/Library/apache-tomcat-9.0.37/bin

esc退出编辑模式,:w保存并:q退出

source .bash_profile,让新环境变量生效

startup.sh,启动tomcat;shutdown.sh,停止tomcat

浏览器访问:

http://localhost:8080/

,跳出的页面正确表示安装成功

4、下载jenkins的.war包:https://www.jenkins.io/download/

5、把war包放到tomcat的webapps目录下

6、启动tomcat,浏览器访问:http://localhost:8080/jenkins

7、按提示执行即可

相关文章

网友评论

      本文标题:mac平台,jenkins搭建

      本文链接:https://www.haomeiwen.com/subject/zdbejltx.html