LoginSignup
5
5

More than 5 years have passed since last update.

jenkins 構築メモ

Posted at

cron相当のタスクの結果を確認しやすくしたい。

参考
http://weblabo.oscasierra.net/install-jenkins-01/
http://treeapps.hatenablog.com/entry/2014/06/11/233027
http://qiita.com/yusukaaay/items/07ec304e4ccc8f8d6581

インストール

yum install wget java-1.7.0-openjdk
wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key
yum install jenkins

/etc/sysconfig/jenkins
JENKINS_PORT=“XXX"
service jenkins start

iptables の設定に以下を追加

/sbin/iptables -A INPUT -m state --state NEW -p tcp --dport XXX -j ACCEPT

5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5