jenkins安装步骤 Jenkins安装更新一下系统apt-get update -y1,安装jdk1.8新版本添加源 1》sudo add-apt-repository ppa:webupd8team/java2》apt-get install oracle-java8-installer2,安装jenkins1》wget -q -O - https://pkg.j
Jenkins安装 更新一下系统apt-get update -y 1,安装jdk1.8新版本 添加源 1》sudo add-apt-repository ppa:webupd8team/java 2》apt-get install oracle-java8-installer 2,安装jenkins 1》wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add - 2》sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list' 3》sudo apt-get update 4》sudo apt-get install jenkins -y 5》sudo service jenkins start 6》下载对应的插件 http://updates.jenkins-ci.org/download/plugins/cloudbees-folder/ 7》重新启动jenkins sudo /etc/init.d/jenkins restart 3,安装maven $wget http://apache.communilink.net/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz $tar xzvf apache-maven-3.3.9-bin.tar.gz $sudo mv apache-maven-3.3.9 /usr/share/ $sudo mkdir /home/jenkins/.m2