refactor email recipients to parameter with default value
[releng/builder.git] / jjb / opflex / opflex-custom.yaml
index bc356d13052be396897818c444c70bdc0982ab8b..658063d7440869dea193c3c0481d3c43e4f81505 100644 (file)
@@ -6,27 +6,25 @@
 #        - 'opflex-daily-{stream}'
 #        - 'opflex-distribution-{stream}'
 
-    # stream:    release stream (eg. stable-lithium or beryllium)
-    # branch:    git branch (eg. stable/lithium or master)
     stream:
-        - boron:
+        - carbon:
             branch: 'master'
-            jdk: openjdk7
-            jdks:
-                - openjdk7
+            jdk: openjdk8
+        - boron:
+            branch: 'stable/boron'
+            jdk: openjdk8
         - beryllium:
             branch: 'stable/beryllium'
-            jdk: openjdk7
-            jdks:
-                - openjdk7
+            jdk: openjdk8
 
     project: 'opflex'
+    archive-artifacts: '**/*.tar.gz'
 
 - builder:
     name: opflex-build
     builders:
       - maven-target:
-          maven-version: '{mvn33}'
+          maven-version: 'mvn33'
           pom: genie/pom.xml
           goals: compile
       - copyartifact:
 - job-template:
     name: 'opflex-verify-{stream}'
 
-    project-type: matrix
-    node: matrix_master
+    project-type: freestyle
+    node: centos7-java-builder-2c-8g
     concurrent: true
-
-    axes:
-        - axis:
-            type: slave
-            name: nodes
-            values:
-                - dynamic_verify
-        - axis:
-            type: jdk
-            values: '{obj:jdks}'
+    jdk: '{jdk}'
 
     logrotate:
         daysToKeep: '{build-days-to-keep}'
 
     builders:
         - opflex-build:
-            mvn33: '{mvn33}'
+            mvn33: 'mvn33'
             stream: '{stream}'
 
     publishers:
         - email-notification:
+            email-recipients: '{email-recipients}'
             email-prefix: '[opflex]'
+        - opendaylight-infra-shiplogs:
+            maven-version: 'mvn33'
 
 - job-template:
     name: 'opflex-merge-{stream}'
 
-    node: dynamic_merge
+    node: centos7-java-builder-2c-8g
     jdk: '{jdk}'
 
     logrotate:
 
     builders:
         - opflex-build:
-            mvn33: '{mvn33}'
+            mvn33: 'mvn33'
             stream: '{stream}'
 
     publishers:
         - email-notification:
+            email-recipients: '{email-recipients}'
             email-prefix: '[opflex]'
-        - archive:
-            artifacts: '**/*.tar.gz'
+        - opendaylight-infra-shiplogs:
+            maven-version: 'mvn33'