zoukankan      html  css  js  c++  java
  • 搭建TFS 2015 Build Agent环境(一)

    Download the build agent

    Downloading the build agent is really simple. Navigate to your TFS control panel, click on Agent pools and then Download agent.

    image

    This post will assume you have setup your agent pool already but that’s as simple as click New pool and giving it a name on the screen above Smile

    Setup agent file structure

    Copy this to your build server and then extract the zip to look like below for example, create these folders.

    image

    then inside each of those folders you place a copy of the extracted zip

    image

    Get your configuration details

    For this step we going option up old trusty notepad. What you are going to need is the following info in notepad, put each of these on a new line

    • Agent Name
    • Url to TFS
    • Agent Pool
    • Working directory (a blank line to use the default which is where your agent is with _working)
    • Configure as a windows service (this post assumes a y)
    • Service run as username
    • Service run as password
    • another empty line

    this should look something like this

    image

    Setup lots of agents

    This part is now fast Smile. Make sure you in the directory with your ConfigureAgent.bat file

    image

    Run the ConfigureAgent.bat as administrator

    image

    You should see something like this now

    image

    Copy everything in your notepad, so you should have all that config with the extra new line at the end. Now right click in cmd and paste

    image

    and that would all work (if you want it to stay open you can open a cmd in admin and then run the bat file from there)

    image

    Now go to each folders ConfigureAgent.bat and run as admin, paste in the same config (changing just the agent name to increment the number at the end)

    All Done

    At this point if you go to your agent pool in TFS you will see they are all setup.

    image

  • 相关阅读:
    MyEclipse数据库反向生成实体类
    Struts2部分标签
    如何使用 Jmeter 发送 Json 请求
    [转]Perfmon
    Jmeter 施压 SQL server数据库的时候,如何设置?
    Tomcat 安装之后,双击Tomcat.exe,无法运行成功,怎么办?
    Jmeter 在什么情况下定义多个thread group?
    Watir RAutomation VS AutoIt to deal with popup
    RAutomation 在 Watir中的使用
    AutoIt:如何处理应用程序端口被占用的情况
  • 原文地址:https://www.cnblogs.com/vveiliang/p/6230307.html
Copyright © 2011-2022 走看看