Jenkins

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(安装)
(安装)
第14行: 第14行:
 
  http://localhost:8080/
 
  http://localhost:8080/
 
Jetty
 
Jetty
  mkdir /home/jetty
+
  mkdir /home/huihoo/jetty9
  chown jetty:adm /home/jetty
+
  chown jetty:adm /home/huihoo/jetty9
  echo export JENKINS_HOME=/home/jetty/ > /etc/profile.d/systemwide.sh
+
  echo export JENKINS_HOME=/home/huihoo/jetty9/ > /etc/profile.d/systemwide.sh
 
  restart jetty  
 
  restart jetty  
 
or add
 
or add
 
  <Call class="java.lang.System" name="setProperty">
 
  <Call class="java.lang.System" name="setProperty">
 
   <Arg>JENKINS_HOME</Arg>
 
   <Arg>JENKINS_HOME</Arg>
   <Arg>/home/jetty</Arg>
+
   <Arg>/home/huihoo/jetty9</Arg>
 
  </Call>
 
  </Call>
 
  to jetty.xml
 
  to jetty.xml
 +
 +
copy jenkins.war to jetty9/webapp
 
https://wiki.jenkins-ci.org/display/JENKINS/Jetty
 
https://wiki.jenkins-ci.org/display/JENKINS/Jetty
  

2013年4月26日 (五) 03:13的版本

Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 Jenkins Thanks, Wikipedia.

Jenkins CI 基于 Hudson 构建,MIT许可协议。

目录

安装

下载 war 文件,然后自执行,java -jar jenkins.war

Debian

wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | apt-key add -
vim  /etc/apt/sources.list
deb http://pkg.jenkins-ci.org/debian binary/
apt-get update
apt-get install jenkins
http://localhost:8080/

Jetty

mkdir /home/huihoo/jetty9
chown jetty:adm /home/huihoo/jetty9
echo export JENKINS_HOME=/home/huihoo/jetty9/ > /etc/profile.d/systemwide.sh
restart jetty 

or add

<Call class="java.lang.System" name="setProperty">
  <Arg>JENKINS_HOME</Arg>
  <Arg>/home/huihoo/jetty9</Arg>
</Call>
to jetty.xml

copy jenkins.war to jetty9/webapp https://wiki.jenkins-ci.org/display/JENKINS/Jetty

使用

Jenkins 命令行

wget http://localhost:8080/jnlpJars/jenkins-cli.jar
java -jar jenkins-cli.jar -s http://localhost:8080/ help
java -jar jenkins-cli.jar -s http://localhost:8080/ version

PostgreSQL

使用PostgreSQL作为Jenkins的后端数据库。

问题

用户

链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱