Add lttng-modules bionic jobs
[lttng-ci.git] / scripts / lttng-modules / master.groovy
index a8bf945f195f7696553915fdf800b12518cdfca9..20b2f48712eaca740946e86132c14800c05606d0 100644 (file)
@@ -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
This page took 0.023816 seconds and 4 git commands to generate.