Deploying Jenkins On CentOS

2016-10-25  本文已影响14人  iakuil

Preparing Env

Sudo

sudo -s

Checking Java

$ java --version

Installing Jenkins

Add Jenkins Repository

sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
Paste_Image.png

Installing

yum install jenkins

PS. If you want to change JENKINS_HOME or JENKINS_PORT, just config as following:

vi /etc/sysconfig/jenkins

Launching Service

service jenkins status
service jenkins start

First Jenkins Job

Costomize Jenkins

Input http://yourJenkinsHost:yourJenkinsPort/ in your web browser:

Paste_Image.png

Wait some moments

Paste_Image.png

Go!!!

Paste_Image.png
上一篇 下一篇

猜你喜欢

热点阅读