laravel - jenkins -持续集成

jenkins安装:

Installation(只谈论centos上的安装,其它系统安装方法请移步jenkins官网

yum安装

sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo

sudo rpm –import https://jenkins-ci.org/redhat/jenkins-ci.org.key

sudo yum install jenkins

或者yum安装稳定版

sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo

sudo rpm –import https://jenkins-ci.org/redhat/jenkins-ci.org.key

sudo yum install jenkins

安装JAVA

Jenkins需要java环境,安装 Open Java Development Kit (OpenJDK)

sudo yum install java-1.8.0-openjdk

Start/Stop

sudo service jenkins start/stop/restart

sudo chkconfig jenkins on

    原文作者:kel
    原文地址: https://www.jianshu.com/p/1e741fb321e3
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞