TeamCity artifact from lastSuccessful branch build

后端 未结 3 893
生来不讨喜
生来不讨喜 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:26

    From the linked page adding the QueryString param worked for me:

    ?branch=
    

    Without this it only downloads artifacts from default branch.

    Our full url:

    http:///repository/downloadAll//.lastFinished?branch=
    

    Which will download latest build from branch 'branchname' on the 'buildid' config.

提交回复
热议问题