VSTS Release Management: filter by branch on artifact source

后端 未结 2 2095
一向
一向 2021-02-19 17:10

I am using VSTS build to run a CI build. This build definition is the same for all my git branches (master, develop, features, etc).

I am now trying to

相关标签:
2条回答
  • 2021-02-19 17:31

    Currently there is no way in VSTS Release Management to do conditional deployment based on branch.

    An alternate would be to create separate BDs for different branches and then configure them as artifact sources for the RDs.

    This will also give users a clarity about the artifact from its name itself.

    0 讨论(0)
  • 2021-02-19 17:42

    Configure branch specific release deployment

    1. Go to release management in VSTS
    2. Go to the definition of the release
    3. Go to tab triggers
    4. Add Continuous Deployment trigger
    5. Here you can select a specific branch (for branch)

    Availability of feature

    • This feature is available in VSTS
    • In the TFS on-premise version it was supposed to be available in version Server 2017.1 but it is still not available in version 2018.1
    0 讨论(0)
提交回复
热议问题