将 Checkbox 添加到 Teamcity 配置参数规范

Adding Checkbox to Teamcity configuration parameter specification

我们知道如何将 select 下拉列表添加到 TeamCity 参数配置中,例如:

是否可以为TC参数配置添加复选框?如果可能的话,正确的做法是什么?

在 TeamCity 9 中当然有可能,根据 documentation 在 8 中也有可能。

定义参数时,只需单击 "Spec" 按钮,然后 select "Type" 下拉菜单中的 "Checkbox" 选项。