是否可以 "download all (.zip)" 工件作为 TeamCity 的访客?
Is possible to "download all (.zip)" artifacts as guest inTeamCity?
我在我的 TeamCity 9.1.6 中启用了来宾身份验证。
我的工件包含 5 个 MSI。
我可以用这个 url:
作为访客下载个人工件
http://teamcity/guestAuth/repository/download/build01/lastSuccessful/ms1.msi
http://teamcity/guestAuth/repository/download/build01/lastSuccessful/ms2.msi
等
但我找不到制作等同于 "download all (.zip)"
的方法
...使用 guestAuth(我可以使用身份验证...)
所以我的问题是:
- 如何在 TeamCity 中以访客身份 "downloadall" 工件?
- 是否可以从 REST API?
我没有 TeamCity 为我创建工件,所以我无法验证这一点,但查看 API (https://confluence.jetbrains.com/display/TCD9/REST+API#RESTAPI-BuildArtifacts)
你可以尝试这样的事情:
http://teamCity/guestAuth/app/rest/builds/id:100/artifacts。那应该获得该构建的所有工件。
要下载指定版本的存档工件,请使用以下请求:
http://teamcity/guestAuth/app/rest/builds/id:XXX/artifacts/archived
我在我的 TeamCity 9.1.6 中启用了来宾身份验证。 我的工件包含 5 个 MSI。
我可以用这个 url:
作为访客下载个人工件http://teamcity/guestAuth/repository/download/build01/lastSuccessful/ms1.msi
http://teamcity/guestAuth/repository/download/build01/lastSuccessful/ms2.msi
等
但我找不到制作等同于 "download all (.zip)"
的方法...使用 guestAuth(我可以使用身份验证...)
所以我的问题是:
- 如何在 TeamCity 中以访客身份 "downloadall" 工件?
- 是否可以从 REST API?
我没有 TeamCity 为我创建工件,所以我无法验证这一点,但查看 API (https://confluence.jetbrains.com/display/TCD9/REST+API#RESTAPI-BuildArtifacts) 你可以尝试这样的事情: http://teamCity/guestAuth/app/rest/builds/id:100/artifacts。那应该获得该构建的所有工件。
要下载指定版本的存档工件,请使用以下请求:
http://teamcity/guestAuth/app/rest/builds/id:XXX/artifacts/archived