Trigger jjb-verify on all changes in jjb dir 64/12664/2
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:17:30 +0000 (15:17 -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
releasenotes/notes/global-jjb-install-symlinks-a03bfc8e84b14874.yaml
releasenotes/notes/jjb-verify-patterns-4756123966391f07.yaml [new file with mode: 0644]

index f8b7b77..502b1cf 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'
 
     # github_included_regions MUST match gerrit_trigger_file_paths
     github_included_regions:
       - '.*\.sh'
       - '.*\.bat'
       - '.*\.ps1'
-      - '.*\.(yaml|yml)'
-      - '.*\/global-jjb'
+      - 'jjb/.*'
+      - 'global-jjb'
 
     #####################
     # Job Configuration #
index c250c31..6fb7904 100644 (file)
@@ -1,5 +1,9 @@
 ---
 upgrade:
+  - |
+    Upgrade to global-jjb v0.24.6 before performing this upgrade. This ensures
+    that jjb-verify job pulls in a regex fix that will allow it to verify
+    the v0.25.0 upgrade.
   - |
     Global JJB now has non-JJB YAML configuration and requires action on the
     ci-management repo when upgrading to this version of Global JJB to prevent
diff --git a/releasenotes/notes/jjb-verify-patterns-4756123966391f07.yaml b/releasenotes/notes/jjb-verify-patterns-4756123966391f07.yaml
new file mode 100644 (file)
index 0000000..833fccc
--- /dev/null
@@ -0,0 +1,6 @@
+---
+fixes:
+  - |
+    jjb-verify will now test on all changes in the jjb directory. The previous
+    pattern was too specific and sometimes missed verifying patches that
+    should be verified.