使用teamcity的REST API,可以通过以下形式的URL检索单个工件
http://myserver.com/httpAuth/app/rest/builds/id:85755/artifacts/files/bin/app.exe
Run Code Online (Sandbox Code Playgroud)
如何获取整个目录?以下内容不起作用:
http://myserver.com/httpAuth/app/rest/builds/id:85755/artifacts/files/bin/
Run Code Online (Sandbox Code Playgroud)
GET http:// teamcity:8111 / httpAuth / app / rest / builds / <build_locator> / artifacts / archived / <path>?locator = pattern:<通配符>
(返回包含指定路径下的工件列表的存档。可选的locator参数可以具有文件,以将文件限制为仅与通配符匹配的文件)媒体类型:application / zip
| 归档时间: |
|
| 查看次数: |
821 次 |
| 最近记录: |