question

KUMARHEMANTH-6112 avatar image
0 Votes"
KUMARHEMANTH-6112 asked DSPatrick answered

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

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-supported
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

DSPatrick avatar image
0 Votes"
DSPatrick answered

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--


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.