You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

TFS 2018 Update 1自动构建系统安装配置方法咨询

TFS 2018 Update 1: Installing & Configuring Auto-Build Systems (Current Workflow)

Hey there! I totally get the confusion here—Microsoft changed how build agents are set up starting with TFS 2017, so the old Management Console workflow you’re used to no longer works. Let’s walk through the correct, up-to-date steps to get your team’s auto-build system running:

Step 1: Access the TFS Web Portal

First, log into your TFS web interface (typically at http://<your-tfs-server>:8080/tfs). Navigate to your team project collection.

Step 2: Go to Agent Pool Settings

Click the gear icon ⚙️ in the top-right corner of the portal, then select Agent pools from the dropdown menu.

Step 3: Create or Select an Agent Pool

  • If you don’t have a dedicated pool for your team, click New agent pool to create one (name it something descriptive like "Team Core Build Pool").
  • If you already have a pool set up, select it from the list.

Step 4: Download the Build Agent

Inside your target agent pool, click the Download agent button. Choose the version that matches your agent machine’s OS (Windows, Linux, or macOS) and save the package.

Step 5: Configure the Agent on Your Build Machine

  1. Extract the downloaded package to a folder on the machine that will run builds (this machine needs network access to your TFS server).
  2. Run the configuration script:
    • Windows: Open Command Prompt, navigate to the extracted folder, and run config.cmd.
    • Linux/macOS: Open a terminal, navigate to the folder, make the script executable with chmod +x config.sh, then run ./config.sh.
  3. Follow the on-screen prompts:
    • Enter your TFS server URL (e.g., http://<your-tfs-server>:8080/tfs).
    • Pick an authentication method (domain credentials or a Personal Access Token with build permissions).
    • Select the agent pool you created/selected earlier.
    • Give the agent a unique name (or use the default).
    • Choose to run the agent as a service (recommended for persistent, background builds) or interactively.

Step 6: Start the Agent

  • Windows: If you installed it as a service, run ./svc start to launch it. For interactive mode, use run.cmd.
  • Linux/macOS: Run ./run.sh to start interactively, or set it up as a system service for auto-start on boot.

Why the Management Console Option Is Unusable

In TFS 2017 and later, the "Build and release" section in the Management Console is just a read-only info panel—all agent management has moved to the web portal. The links there are meant to direct you to the web UI, but the disabled OK button is likely a minor UI glitch or permission quirk. The web portal workflow is now the official supported method.

内容的提问来源于stack exchange,提问作者Isix

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.20 08:14:06