git+gerrit+jenkins经典组合之安装使用
来源:互联网 发布:电脑键盘记录软件 编辑:程序博客网 时间:2024/06/03 08:44
原址
apt源包安装jenkins
===============
参考官方 https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntuwget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'sudo apt-get updatesudo apt-get install jenkins修改包安装缺省目录====================vi /etc/default/jenkins# defaults for jenkins continuous integration server# pulled in from the init script; makes things easier.NAME=jenkins# location of java# JAVA=/usr/bin/javaJAVA=/opt/jdk1.6.0_25/bin/java# arguments to pass to java#JAVA_ARGS="-Xmx256m"#JAVA_ARGS="-Djava.net.preferIPv4Stack=true" # make jenkins listen on IPv4 address# PIDFILE=/var/run/jenkins/jenkins.pidPIDFILE=/home/jenkins/jenkins.pid# user id to be invoked as (otherwise will run as root; not wise!)JENKINS_USER=jenkins# location of the jenkins war fileJENKINS_WAR=/usr/share/jenkins/jenkins.war# jenkins home location# JENKINS_HOME=/var/lib/jenkinsJENKINS_HOME=/home/jenkins# set this to false if you don't want Hudson to run by itself# in this set up, you are expected to provide a servlet container# to host jenkins.RUN_STANDALONE=true# log location. this may be a syslog facility.priority# JENKINS_LOG=/var/log/jenkins/$NAME.logJENKINS_LOG=/home/jenkins/$NAME.log#HUDSON_LOG=daemon.info# OS LIMITS SETUP# comment this out to observe /etc/security/limits.conf# this is on by default because http://github.com/jenkinsci/jenkins/commit/2fb288474e980d0e7ff9c4a3b768874835a3e92e# reported that Ubuntu's PAM configuration doesn't include pam_limits.so, and as a result the # of file# descriptors are forced to 1024 regardless of /etc/security/limits.confMAXOPENFILES=8192# port for HTTP connector (default 8080; disable with -1)HTTP_PORT=8080# port for AJP connector (disabled by default)AJP_PORT=-1# servlet context, important if you want to use apache proxying PREFIX=/jenkins# arguments to pass to jenkins.# --javahome=$JAVA_HOME# --httpPort=$HTTP_PORT (default 8080; disable with -1)# --httpsPort=$HTTP_PORT# --ajp13Port=$AJP_PORT# --argumentsRealm.passwd.$ADMIN_USER=[password]# --argumentsRealm.roles.$ADMIN_USER=admin# --webroot=~/.jenkins/war# --prefix=$PREFIX# JENKINS_ARGS="--webroot=/var/cache/jenkins/war --httpPort=$HTTP_PORT --ajp13Port=$AJP_PORT"JENKINS_ARGS="--webroot=/home/jenkins/war --httpPort=$HTTP_PORT --ajp13Port=$AJP_PORT"/home目录下建jenkins========================sudo mkdir /home/jenkinssudo chown -R jenkins:admin /home/jenkins修改jenkins家目录为/home/jenkins===============================vi /etc/passwd开机启动jenkins===============================/etc/init.d/jenkins使用80端口访问===============================参考官网 https://wiki.jenkins-ci.org/display/JENKINS/Running+Jenkins+behind+Apache
阅读全文
0 0
- git+gerrit+jenkins经典组合之安装使用
- git+gerrit+jenkins经典组合之安装使用
- Git+gerrit+jenkins安装配置
- Jenkins + Gerrit + Git
- 持续集成之 Git Gerrit Jenkins Blade 工作流
- jenkins之使用git
- gerrit及git的基本安装使用
- gerrit git使用
- Git&Gerrit使用
- Git、Gerrit与Jenkins/Hudson CI服务器
- Git、Gerrit与Jenkins/Hudson CI服务器
- Git、Gerrit与Jenkins/Hudson CI服务器
- Git、Gerrit与Jenkins/Hudson CI服务器
- Git、Gerrit与Jenkins/Hudson CI服务器
- 团队开发利器Redmine,git,gerrit,jenkins
- Git、Gerrit与Jenkins/Hudson CI服务器
- Git、Gerrit与Jenkins/Hudson CI服务器
- CI 系统搭建:Git、Gerrit与Jenkins
- git使用之撤销部分修改
- 用安卓studio开发sdk过程中遇到的坑
- 擒贼先擒王-并查集
- CSR8675的DSP学习笔记——离线调试与仿真
- while与break、continue、return以及goto的使用
- git+gerrit+jenkins经典组合之安装使用
- 用JVISUALVM远程监控JAVA程序的性能
- php fatal error-Allowed memory size
- 原生Javascript之事件
- 前端工具_ps_01
- 数据结构与算法专题之线性表——链表(二)双向链表
- 169. Majority Element
- 菜鸟心历之路(1)
- C++多态理解及多态对象模型探索