gpt4 book ai didi

rest - TeamCity:使用 REST API 获取整个工件目录

转载 作者:行者123 更新时间:2023-12-01 11:25:14 26 4
gpt4 key购买 nike

使用 teamcity 的 REST API 可以通过表单的 URL 检索单个工件

http://myserver.com/httpAuth/app/rest/builds/id:85755/artifacts/files/bin/app.exe

如何获取整个目录?以下不起作用:

http://myserver.com/httpAuth/app/rest/builds/id:85755/artifacts/files/bin/

最佳答案

来自 TCD9/REST API

GET http://teamcity:8111/httpAuth/app/rest/builds/<build_locator>/artifacts/archived/<path>?locator=pattern:<wildcard> 

(returns the archive containing the list of artifacts under the path specified. The optional locator parameter can have file to limit the files only to those matching the wildcard) Media-Type: application/zip

关于rest - TeamCity:使用 REST API 获取整个工件目录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37862233/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com