jenkins 搭建配置
jenkins 部署
安装方法一:
下载jenkins war包
wget http://mirrors.jenkins.io/war-stable/latest/jenkins.war
运行jenkins war包
java -jar jenkins.war
安装方法二:
wget http://mirrors.jenkins.io/war-stable/latest/jenkins.war
将war包添加到tomcat中运行
部署tomcat tar xf apache-tomcat-7.0.62.tar.gz -C ../opt/ cp /data/software/jenkins.war /data/opt/apache-tomcat-7.0.62/webapps cd /data/opt/apache-tomcat-7.0.62/bin ./startup.sh
jenkins 配置
jenkins的使用
添加一个shell