码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu 14.04安装quickbuild buildagent (二)

时间:2015-09-24 00:37:06      阅读:362      评论:0      收藏:0      [点我收藏+]

标签:

 1. 启动 QuickBuild server, 并且login to QuickBuild as administrator, 然后打开 Grid tab

    技术分享

     点击 download build agent , 下载 buildagent 软件,并解压在 安装目录下

carloz@linux:~/programfiles/quickbuild6$ cd buildagent/
carloz@linux:~/programfiles/quickbuild6/buildagent$ pwd
/home/carloz/programfiles/quickbuild6/buildagent
carloz@linux:~/programfiles/quickbuild6/buildagent$ ls
asset  bin  conf  logs  plugins

 

     保证当前用户有足够的权限

 

2. 保证系统已经安装了  JDK6 or JDK7 

3. 

 

 

============================================

Supported operating systems

  • Windows 2000/XP/Vista/7, Windows server 2003/2008, 32 bit and 64 bit, x86 and IA architecture
  • Linux, 32 bit and 64 bit, x86, PowerPC and S/390 architecture
  • Mac OS X, 32 bit and 64 bit
  • Solaris, 32 bit and 64 bit, Sparc and x86 architecture
  • AIX, 32 bit and 64 bit, PowerPC architecture
  • HP-UX, 32 bit and 64 bit, IA and PARISC architecture
  • FreeBSD, 32 bit and 64 bit, x86 architecture

Memory requirement

  • 64M minimum, 256M recommended

Installation Steps

  1. Make sure QuickBuild server is up and running, login to QuickBuild as administrator and navigate to Grid tab, follow the download build agent link to download the build agent. Extract downloaded file into the directory where the build agent should be installed. Make sure the user running user agent has full access rights to the installation directory.
  2. Make sure you have JDK6 or JDK7 installed. Download the appropriate JDK version from http://java.sun.com技术分享 if needed.
  3. Make sure the java command exists in the system path; if not, you will need to modify the file conf/wrapper.conf under the build agent‘s installation directory, and point the entry wrapper.java.command to path of the java command.
  4. Optionally run <agent install dir>/bin/config.bat|sh) to configure build agent properties such as IP address, port number, SSL setting, etc.
  5. Open a command prompt window, switch to folder <agent install dir>/bin, and run command agent.(bat|sh) console to start the agent.
    技术分享

    Follow this guide on how to install the agent as system service so that it auto-starts when machine reboots.

  6. After the agent starts up, it may complain with the message "This build agent is not authorized to join the grid". Upon this, you need to login to QuickBuild server and authorize the agent to join the grid. Refer to Working with Build Grid for how to authorize build agents to join grid.
  7. If the build agent is connected to QuickBuild server correctly, you will see its entry in active node list of the build grid like below by logging in as administrator:
    技术分享

Trouble Shooting

If your agent does not connect with server, please make sure that:

  1. You can telnet to server port from agent machine with below command:
    telnet _<server host name>_ _<server port>_

    Here <server host name> and <server port> has to be extracted from serverUrl in file conf/node.properties of under agent directory.

  2. You can telnet to agent port from server machine with below command:
    telnet <agent ip address> <agent port>
  3. If auto-detected agent ip reported in server console log is incorrect, specify it explicitly by editing conf/node.properties of the agent to add below property:
    ip=_<agent ip address>_
  4. Recently we found a case where QB agent from other subnets connects to server but then times out during initialization (agents from same subnet works fine), and it turns out that server response package is dropped for some reason (maybe the package content matches some pre-set drop rule) across the gateway, and the problem is solved by connecting to server via ssl port so that server response package is encrypted.

ubuntu 14.04安装quickbuild buildagent (二)

标签:

原文地址:http://www.cnblogs.com/carlo/p/4833894.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!