From 9e5757c625d6f13e7d9e55ad62f1c39bdc1a5ed9 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Wed, 15 Jan 2020 14:54:46 -0500 Subject: [PATCH] jjb: lttng-modules: Add ubuntu focal job Signed-off-by: Michael Jeanson --- jobs/lttng-modules.yaml | 1 + scripts/lttng-modules/master.groovy | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/jobs/lttng-modules.yaml b/jobs/lttng-modules.yaml index c700d29..0d99488 100644 --- a/jobs/lttng-modules.yaml +++ b/jobs/lttng-modules.yaml @@ -552,6 +552,7 @@ uversion: - xenial - bionic + - focal buildtype: build parambuildtype: build kverfloor: '' diff --git a/scripts/lttng-modules/master.groovy b/scripts/lttng-modules/master.groovy index 2cc2a62..29ff8ce 100644 --- a/scripts/lttng-modules/master.groovy +++ b/scripts/lttng-modules/master.groovy @@ -338,10 +338,17 @@ def kversionFactory = "" if (uversion != null) { kversionFactory = new UbuntuKVersion() switch (uversion) { + case 'focal': + matchStrs = [ + ~/^refs\/tags\/(Ubuntu-5\.4\.0-\d{1,3}?\.[\d]+)$/, + ] + break + case 'bionic': matchStrs = [ ~/^refs\/tags\/(Ubuntu-4\.15\.0-\d{1,3}?\.[\d]+)$/, -// ~/^refs\/tags\/(Ubuntu-hwe-4\.18\.0-.*_18\.04\.\d+)$/, + ~/^refs\/tags\/(Ubuntu-hwe-4\.18\.0-.*_18\.04\.\d+)$/, + ~/^refs\/tags\/(Ubuntu-hwe-5\.0\.0-.*_18\.04\.\d+)$/, ] break -- 2.34.1