Reputation: 1
I have a build pipeline with 3 stages
Each stage has to reserve a pool then run the jobs.
I want to run the 3rd stage only when there is a changing related to the frontend folder. My Question is: Is there is any predefined configuration to know if there is any file changed and to skip the stage without reserve a pool?
I tried a git command but this need to reserve a pool before running the script.
Upvotes: 0
Views: 195
Reputation: 7941
Make it a separate pipeline that only fires ("trigger:") when a specific directory is changed.
Upvotes: 0