| Mark Waite and Michael Andrews, thanks for the reply. FYI, I did more testing and seems like the regular expression does not make any difference. To simplify the paths to include, I limited to the README.md in the root folder. Again, the freestyle job was triggered correctly but pipeline job did not trigger correctly (as in changing to any file in the repo would trigger). Works:  Does not work: [$class: 'PathRestriction', excludedRegions: '', includedRegions: 'README.md'] [$class: 'PathRestriction', excludedRegions: '', includedRegions: "README.md"] [$class: 'PathRestriction', excludedRegions: '', includedRegions: '^README.md\$'] [$class: 'PathRestriction', excludedRegions: '', includedRegions: "^README.md\$"] I even tried to use the pipeline syntax function on jenkins to make sure that I get the syntax correct. And I got exactly this line which did not work. [$class: 'PathRestriction', excludedRegions: '', includedRegions: 'README.md'] No luck finding a workaround yet... |