X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Flttng-modules%2Fmaster.groovy;h=20b2f48712eaca740946e86132c14800c05606d0;hb=417251718144a9f5ab350abe6a15aca660819ab9;hp=a8bf945f195f7696553915fdf800b12518cdfca9;hpb=c448771aff7ae930b9e4b5f750974d096b79677b;p=lttng-ci.git diff --git a/scripts/lttng-modules/master.groovy b/scripts/lttng-modules/master.groovy index a8bf945..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 } @@ -528,7 +535,7 @@ for (b in allBuilds) { // Mark this build failed if any child build has failed if (isFailed) { - build.getExecutor().interrupt(Result.FAILURE) + build.setResult(hudson.model.Result.FAILURE) } // EOF