jjb: barectf: split gerrit jobs by branch
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 24 Apr 2023 18:45:53 +0000 (14:45 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Mon, 24 Apr 2023 19:23:02 +0000 (15:23 -0400)
Change-Id: Ia0da54bbff8c12262c934d6d4cf01a6805f55445
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
jobs/barectf.yaml

index 5c5949bbf65a629a313514dffa9363ec4ff1dd88..40cfcae9ad728e8343feda2ec23ed86f8c8fdcf7 100644 (file)
@@ -97,7 +97,7 @@
            - recipients
 
 - job-template:
-    name: dev_gerrit_barectf_{buildtype}
+    name: dev_review_barectf_{version}_{buildtype}
     defaults: barectf
     concurrent: true
 
             - project-compare-type: 'PLAIN'
               project-pattern: 'barectf'
               branches:
-                - branch-compare-type: 'ANT'
-                  branch-pattern: '**'
+                - branch-compare-type: 'PLAIN'
+                  branch-pattern: '{version}'
 
     properties:
       - build-discarder:
           platforms: !!python/tuple [jammy-amd64]
 
 - project:
-    name: gerrit-barectf
+    name: review-barectf
     github_user: efficios
     github_name: barectf
+    version:
+      - master
+      - stable-3.0
     jobs:
-      - 'dev_gerrit_barectf_{buildtype}':
+      - 'dev_review_barectf_{version}_{buildtype}':
           buildtype: linuxbuild
           platforms: !!python/tuple [jammy-amd64]
 
This page took 0.02416 seconds and 4 git commands to generate.