archimedic_flow
archimedic_flow

Reputation: 1

Azure DevOps Pipeline build trigger with path filter not working for folder name with whitespace

I'm setting up build trigger when commit is made to a specific folder. However the folder name has whitespace and that is not being accepted. Assume below to be my folder structure, I want to trigger build if any changes to files in "test folder" (Whitespace included)

root
|--test folder
   |--file1.txt

Below is the trigger I set in pipeline

trigger:
  branches:
    include:
      - master
  paths:
     include:
       - test folder/*

Upvotes: 0

Views: 2034

Answers (1)

Michael Wolf
Michael Wolf

Reputation: 11

It should work if you put the path in quotes

trigger:
  branches:
    include:
      - master
  paths:
     include:
       - "test folder/*"

Upvotes: 1

Related Questions