TeamCity artifact from lastSuccessful branch build

后端 未结 3 877
生来不讨喜
生来不讨喜 2021-02-13 20:52

I recently re-configured our TeamCity build configuration to take advantage of the Branch features to apply the same build configuration to multiple branches in the same reposit

3条回答
  •  走了就别回头了
    2021-02-13 21:09

    I just came across this article.

    I plan on giving this a try over the next couple days, and if it works, I will give a brief summary of the result for anyone else who has trouble with this.

    EDIT:

    Sorry for the delay, just realized that I never came back to report how we resolved this issue.

    We ended up upgrading TeamCity (which we should have done anyway, so it wasn't a big deal), and once that was finished, it worked great without much effort. We're now running TeamCity v8.1.5, and here's the URL pattern we're using to pull our artifacts:

    http:///httpAuth/app/rest/builds/buildType:,branch:/artifacts/content/

    NOTE: We're using the httpAuth API in order to authorize access to our build artifacts, so we also had to create a new TeamCity user for our deployments.

提交回复
热议问题