From 74901baab3185f3a8bd6d9767477ea0d6e5da339 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Fri, 25 Mar 2022 15:03:59 -0400 Subject: [PATCH] jjb: lttng-modules: add ubuntu jammy kernels Change-Id: I6c3bd3339f06788dff9bb8e0a9965906a954fc7e Signed-off-by: Michael Jeanson --- jobs/lttng-modules.yaml | 1 + scripts/lttng-modules/master.groovy | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/jobs/lttng-modules.yaml b/jobs/lttng-modules.yaml index 6195f2c..b47a91b 100644 --- a/jobs/lttng-modules.yaml +++ b/jobs/lttng-modules.yaml @@ -677,6 +677,7 @@ - xenial - bionic - focal + - jammy buildtype: build parambuildtype: build kverfloor: '' diff --git a/scripts/lttng-modules/master.groovy b/scripts/lttng-modules/master.groovy index 18e0a9f..6efffe5 100644 --- a/scripts/lttng-modules/master.groovy +++ b/scripts/lttng-modules/master.groovy @@ -345,17 +345,22 @@ def kversionFactory = "" if (uversion != null) { kversionFactory = new UbuntuKVersion() switch (uversion) { + case 'jammy': + matchStrs = [ + ~/^refs\/tags\/(Ubuntu-5\.15\.0-\d{1,3}?\.[\d]+)$/, + ] + break + case 'focal': matchStrs = [ ~/^refs\/tags\/(Ubuntu-5\.4\.0-\d{1,3}?\.[\d]+)$/, - ~/^refs\/tags\/(Ubuntu-hwe-5\.8-5\.8\.0-.*_20\.04\.\d+)$/, + ~/^refs\/tags\/(Ubuntu-hwe-5\.13-5\.13\.0-.*_20\.04\.\d+)$/, ] break case 'bionic': matchStrs = [ ~/^refs\/tags\/(Ubuntu-4\.15\.0-\d{1,3}?\.[\d]+)$/, - ~/^refs\/tags\/(Ubuntu-hwe-5\.0-5\.0\.0-.*_18\.04\.\d+)$/, ~/^refs\/tags\/(Ubuntu-hwe-5\.4-5\.4\.0-.*_18\.04\.\d+)$/, ] break -- 2.34.1