How to make one particular pipeline be triggered for change corresponding to that pipeline applications?

KUMAR HEMANTH 21 Reputation points
2021-04-02T10:50:35.907+00:00

Our team is developing a project which contains some 7 API's and 3 Function apps. They all are placed in a single Azure repo with only one '.sln' file for all the API's and Function apps. I am asked to build different pipelines for all the API's and Function apps.

Our expected work of pipelines is, if there is a change in one of the API's or Function apps, then pipeline corresponding to that API/Fn app has to be triggered but not the remaining pipelines. But if there is a change in any of the API's/Fn apps then all of the pipelines are getting triggered.

So I have added the path filter in the build pipelines. But from then onwards auto triggering of pipeline for changes in API's/Fn apps is not working. What should be solution for this approach.

My pipeline

trigger:
branches:
include:

  • My branch name
    paths:
    include:
  • '**/x api/*' exclude:
    • '**/z api/*'

When I am using above approach auto trigger of pipeline for changes in the corresponding API is not working.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,196 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dave Patrick 426.1K Reputation points MVP
    2021-04-02T14:43:25.443+00:00

    Devops / TFS is not currently supported here on QnA. The product group for Azure DevOps / TFS actively monitors questions over at
    https://developercommunity.visualstudio.com/report?space=21&entry=problem
    https://developercommunity.visualstudio.com/report?space=22&entry=problem

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

0 additional answers

Sort by: Most helpful