Trigger jjb-verify on all changes in jjb dir 66/12666/1 v0.24.6
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 19 Sep 2018 19:11:07 +0000 (15:11 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 19 Sep 2018 19:23:55 +0000 (15:23 -0400)
Everything in the global-jjb directory should trigger jjb-verify
jobs. Update the regex to be less specific.

Change-Id: Ie0b6c5b60e3547e1f3616c8dde7493be6d6184ff
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/lf-ci-jobs.yaml

index 5b18b1d..67e4b49 100644 (file)
       - compare-type: REG_EXP
         pattern: '.*\.ps1'
       - compare-type: REG_EXP
-        pattern: '.*\.(yaml|yml)'
+        pattern: 'jjb/.*'
       - compare-type: REG_EXP
-        pattern: '.*\/global-jjb'
+        pattern: 'global-jjb'
+      - compare-type: REG_EXP
+        pattern: 'jjb/global-jjb'
 
     # github_included_regions MUST match gerrit_trigger_file_paths
     github_included_regions:
       - '.*\.sh'
       - '.*\.bat'
       - '.*\.ps1'
-      - '.*\.(yaml|yml)'
-      - '.*\/global-jjb'
+      - 'jjb/.*'
+      - 'global-jjb'
+      - 'jjb/global-jjb'
 
     #####################
     # Job Configuration #