标签:cat local 名称 ref _id gre 服务 配置jdk workspace
基于阿里云的Jenkins+Maven+SVN+Tomcat的持续集成(一)--先前准备与jdk环境变量配置
https://blog.csdn.net/jesonjoke/article/details/76876427
基于阿里云的Jenkins+Maven+SVN+Tomcat的持续集成(二)-tomcat、svn、maven安装
https://blog.csdn.net/jesonjoke/article/details/76850608
基于阿里云的Jenkins+Maven+SVN+Tomcat的持续集成(三)-jenkins集成
https://blog.csdn.net/jesonjoke/article/details/77861888
其他
https://blog.csdn.net/ylr918/article/details/69683734
4207230c8b884555b6e82cbcda7586b9
firewall-cmd --zone=public --add-port=9001/tcp --permanent
firewall-cmd --zone=public --add-port=7001/tcp --permanent
firewall-cmd --reload
superuser
123456
http://192.168.123.7:9001/jenkins/
jinkins初始化配置:进入系统管理->Global Tool Configuration
配置jdk与maven,名称随便起,路径是之前配置好的服务器中的路径
H/2 * * * *
export BUILD_ID=XXXXXX
cd /home/local/apache-tomcat-7.0.88-7001/webapps
rm -rf *
cd /root/.jenkins/workspace/test/target/
cp test.war /home/local/apache-tomcat-7.0.88-7001/webapps
sleep 10s
sh /home/local/apache-tomcat-7.0.88-7001/bin/startup.sh
ps -ef|grep tomcat
<wiz_tmp_tag id="wiz-table-range-border" contenteditable="false" style="display: none;">
001参考资料
标签:cat local 名称 ref _id gre 服务 配置jdk workspace
原文地址:https://www.cnblogs.com/linux777/p/9376874.html