使 Team City 构建结果(几个字符串变量)可通过 HTTP API

Make Team City build result(couple of str variable) avaliable via HTTP API

我有一个使用命令行构建步骤构建的应用程序,结果有几个 str 变量。构建完成后,我可以通过 HTTP api 使这个 str 可用。

我尝试打印到 STDOUT '##teamcity[setParameter name='env.' value='']' - 此 ENV 变量可通过 buildParameters 选项卡获得,但在 https://<TC_HOST>/httpAuth/app/rest/builds/id:<BUILD_ID> 资源中缺失.怎么做这个?

使用https://<TC_HOST>/httpAuth/app/rest/builds/id:<BUILD_ID>/resulting-properties