Fix icn-daaas trigger paths
[ci-management.git] / jjb / akraino-templates / akraino-icn-templates.yaml
@@ -94,8 +94,8 @@
                 - branch-compare-type: "ANT"
                   branch-pattern: "**/{branch}"
               file-paths:
                 - branch-compare-type: "ANT"
                   branch-pattern: "**/{branch}"
               file-paths:
-                - compare-type: ANT
-                  pattern: "**/{path}/*"
+                - compare-type: REG_EXP
+                  pattern: ".*/?{path}/.*"
               disable-strict-forbidden-file-verification: "true"
               forbidden-file-paths:
                 - compare-type: ANT
               disable-strict-forbidden-file-verification: "true"
               forbidden-file-paths:
                 - compare-type: ANT
                 - branch-compare-type: "ANT"
                   branch-pattern: "**/{branch}"
               file-paths:
                 - branch-compare-type: "ANT"
                   branch-pattern: "**/{branch}"
               file-paths:
-                - compare-type: ANT
-                  pattern: "**/{path}/*"
+                - compare-type: REG_EXP
+                  pattern: ".*/?{path}/.*"
               disable-strict-forbidden-file-verification: "true"
               forbidden-file-paths:
                 - compare-type: ANT
               disable-strict-forbidden-file-verification: "true"
               forbidden-file-paths:
                 - compare-type: ANT