From: Michael Jeanson Date: Wed, 12 Sep 2018 19:04:38 +0000 (-0400) Subject: Add lttng-modules bionic jobs X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;ds=sidebyside;h=57bdee9e35d8852b90f3d0fd6fc124c34d8d7c0c;p=lttng-ci.git Add lttng-modules bionic jobs Signed-off-by: Michael Jeanson --- diff --git a/jobs/lttng-modules.yaml b/jobs/lttng-modules.yaml index 1450a56..d61cf56 100644 --- a/jobs/lttng-modules.yaml +++ b/jobs/lttng-modules.yaml @@ -559,6 +559,7 @@ uversion: - trusty - xenial + - bionic buildtype: build parambuildtype: build kverfloor: '' @@ -595,6 +596,7 @@ uversion: - trusty - xenial + - bionic buildtype: crossbuild parambuildtype: crossbuild kverfloor: '' diff --git a/scripts/lttng-modules/master.groovy b/scripts/lttng-modules/master.groovy index 323351c..20b2f48 100644 --- a/scripts/lttng-modules/master.groovy +++ b/scripts/lttng-modules/master.groovy @@ -330,11 +330,18 @@ def kversionFactory = "" if (uversion != null) { kversionFactory = new UbuntuKVersion() switch (uversion) { + case 'bionic': + matchStrs = [ + ~/^refs\/tags\/(Ubuntu-4\.15\.0-\d{1,3}?\.[\d]+)$/, + ] + break + case 'xenial': matchStrs = [ ~/^refs\/tags\/(Ubuntu-4\.4\.0-\d{1,3}?\.[\d]+)$/, ~/^refs\/tags\/(Ubuntu-lts-4\.8\.0-.*_16\.04\.\d+)$/, ~/^refs\/tags\/(Ubuntu-lts-4\.10\.0-.*_16\.04\.\d+)$/, + ~/^refs\/tags\/(Ubuntu-lts-4\.15\.0-.*_16\.04\.\d+)$/, ] blacklist = [ @@ -350,7 +357,7 @@ if (uversion != null) { break default: - println 'Unsupported Ubuntu version: ${uversion}' + println "Unsupported Ubuntu version: ${uversion}" throw new InterruptedException() break }