Agent Settings
Agent Settings 包括以下选项卡:
通用设置
Agent 的 General 设置定义了构建执行过程中作为 Helper 和 Initiator 管控 Agent 的使用的不同配置。
参数 | 描述 | 默认值 |
---|---|---|
Agent Settings | ||
Enable as Helper |
此复选框决定了 Agent 是否会用作 Helper Agent,以及在未来的构建中是否会贡献其 CPU 资源到 Incredibuild Environment 中。
|
选择 Agent 默认用作 Helper 机器。 |
Max Helper's Cores To Be Used | Agent Helper 机器上可用于构建执行的最大核心数量。 |
-1 -1 值表示 Coordinator 将使用此 Agent 机器的所有核心进行任务分配。 |
Max Initiator's Cores To Be Used | 作为构建的 Initiator 时 Agent 可使用的最大核心数量。 |
-1 -1 值表示此 Agent 的所有核心将用于构建执行。 |
Initiator | ||
Max builds to preserve in DB |
Build History 数据库中可保存的原有构建的最大数量。一旦数据库中的构建数量达到此值,日期最早的构建会自动删除。 注意:通过 Toggle Auto Delete 操作排除在自动删除流程以外的构建不受此值影响,即便达到限值也不会删除。 |
50 |
Minimum local cores for build |
运行 ib_console 命令启动新构建所需的可用核心最小数量。 注意:建议此值不低于 4。 |
4 |
Build avoidance cache size (GB) | 构建避免缓存的大小。 | 15GB |
Max ib_console Executions |
利用 ib_console 命令可并发运行的最大构建数量。 注意:实际数量可能受 Agent 机器上的可用核心数量和 Minimum local cores for build 限制。 |
10 ib_console instances |
Network Settings
通过这些设置,您可以修改 Incredibuild 使用的端口,并定义 Coordinator 的位置。
修改端口有时还需要更改 Coordinator 设置。请参阅 Modifying Ports 了解详细信息。
描述 | 默认值 | |
---|---|---|
Coordinator | ||
Coordinator IP address | Coordinator 机器的 IP 地址或主机名。 |
默认值在代理机初始安装时设置。 |
Coordinator Utility Port |
用于 Coordinator 及其所连接 Initiator 和 Helper Agent 之间的通信。 |
9953 |
Webserver Port |
用于浏览器与 Agent 机器 Web Management Console 之间的通信。 |
8080 |
Visualization Settings
Agent 的 Visualization 设置决定了所执行的构建是否会在 Build Progress 界面上回放,以及如何回放。
参数 | 描述 | 默认值 |
---|---|---|
Build Progress Settings |
||
Frame Rate | 构建回放显示时的帧频。 | 8 |
Show Task ID | 在回放任务的工具提示中显示或隐藏 Task ID 属性。 |
选择 回放任务的工具提示默认显示 Task ID。 |
Hide Messages Tab | 在 Build Progress 界面上显示或隐藏 Messages 选项卡。 |
选择 Build Progress 界面上默认不显示 Messages 选项卡。 |
Enable Build Monitor |
是否保存单个构建的数据、图表和构建输出文本,以便在 Build Progress 界面上显示。 清除此选项可以提高性能,但代价是数据无法保存。 |
选择 各构建的数据默认保存,然后在 Build Progress 界面上显示。 |