From f172adcf8586f3422470878585a56d8bf8cc27fc Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 24 Apr 2023 14:45:53 -0400 Subject: [PATCH] jjb: barectf: split gerrit jobs by branch Change-Id: Ia0da54bbff8c12262c934d6d4cf01a6805f55445 Signed-off-by: Michael Jeanson --- jobs/barectf.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/jobs/barectf.yaml b/jobs/barectf.yaml index 5c5949b..40cfcae 100644 --- a/jobs/barectf.yaml +++ b/jobs/barectf.yaml @@ -97,7 +97,7 @@ - recipients - job-template: - name: dev_gerrit_barectf_{buildtype} + name: dev_review_barectf_{version}_{buildtype} defaults: barectf concurrent: true @@ -128,8 +128,8 @@ - project-compare-type: 'PLAIN' project-pattern: 'barectf' branches: - - branch-compare-type: 'ANT' - branch-pattern: '**' + - branch-compare-type: 'PLAIN' + branch-pattern: '{version}' properties: - build-discarder: @@ -169,11 +169,14 @@ 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] -- 2.34.1