azure-devopsyamlbuild-triggers

Availability of wildcards in path filters in YAML pipelines


According to a recent update here : https://learn.microsoft.com/en-us/azure/devops/release-notes/2021/sprint-192-update#support-for-wild-cards-in-path-filters wildcards will be supported in path triggers in 2-3 weeks (Presumably from the date of the document September the 8th).

Is there any way that we can check the availability of this? It doesn't seem to work but we are left wondering if the release was delayed and the docs not updated or if we are doing something wrong.

As a very simple example I'd expect the below to trigger a build when something changes in the src directory, but nothing happens - Have I made a mistake or has the update not been rolled out yet?

trigger:
 branches:
   include:
     - main
     - develop
 paths:
  include:
    - src/**

Solution

  • For future reference, this was an issue with the timing.

    The MS docs had been updated suggesting that the feature was available however the deployment had been delayed so the feature was not available in our region.

    This is now resolved and the feature is available to us now.