Create Oxygen jobs and bump Nitrogen branch
[releng/builder.git] / jjb / opflex / opflex-dependencies.yaml
index d4a1d55e6a0339dbe0eca39a9f557bb9c4f0016c..963228095cda3832b30d5d5936d45db318355d53 100644 (file)
+---
 - project:
     name: opflex-dependencies
     jobs:
-        - 'opflex-libuv_tgz-{stream}'
-        - 'opflex-rapidjson_tgz-{stream}'
-        - 'opflex-openvswitch_tgz-{stream}'
+      - 'opflex-libuv_tgz-{stream}'
+      - 'opflex-rapidjson_tgz-{stream}'
+      - 'opflex-openvswitch_tgz-{stream}'
 
     stream:
-        - beryllium:
-            branch: 'master'
-            jdk: openjdk7
-            jdks:
-                - openjdk7
+      - oxygen:
+          branch: 'master'
+          libuv-build: v1
+          libuv-scm: v2
+          rapidjson-build: v1
+          rapidjson-scm: v2
+          openvswitch-build: v2
+          openvswitch-scm: v2
+      - nitrogen:
+          branch: 'stable/nitrogen'
+          libuv-build: v1
+          libuv-scm: v2
+          rapidjson-build: v1
+          rapidjson-scm: v2
+          openvswitch-build: v2
+          openvswitch-scm: v2
+      - carbon:
+          branch: 'stable/carbon'
+          libuv-build: v1
+          libuv-scm: v2
+          rapidjson-build: v1
+          rapidjson-scm: v2
+          openvswitch-build: v2
+          openvswitch-scm: v2
+      - boron:
+          branch: 'stable/boron'
+          libuv-build: v1
+          libuv-scm: v1
+          rapidjson-build: v1
+          rapidjson-scm: v1
+          openvswitch-build: v1
+          openvswitch-scm: v1
 
     project: 'opflex'
 
 - scm:
-    name: 'git-opflex-libuv'
+    name: 'git-opflex-libuv-v1'
     scm:
-        - git:
-            url: https://github.com/libuv/libuv.git
-            branches:
-                - 'refs/tags/v1.7.5'
-            wipe-workspace: true
+      - git:
+          url: https://github.com/libuv/libuv.git
+          branches:
+            - 'refs/tags/v1.7.5'
+          wipe-workspace: true
 
 - scm:
-    name: 'git-opflex-rapidjson'
+    name: 'git-opflex-libuv-v2'
     scm:
-        - git:
-            url: https://github.com/miloyip/rapidjson.git
-            branches:
-                - 'refs/tags/v1.0.1'
-            wipe-workspace: true
+      - git:
+          url: https://github.com/libuv/libuv.git
+          branches:
+            - 'refs/tags/v1.8.0'
+          wipe-workspace: true
 
 - scm:
-    name: 'git-opflex-ovs'
+    name: 'git-opflex-rapidjson-v1'
     scm:
-        - git:
-            url: https://github.com/noironetworks/ovs.git
-            branches:
-                - 'origin/noiro'
-            wipe-workspace: true
+      - git:
+          url: https://github.com/miloyip/rapidjson.git
+          branches:
+            - 'refs/tags/v1.0.1'
+          wipe-workspace: true
+
+- scm:
+    name: 'git-opflex-rapidjson-v2'
+    scm:
+      - git:
+          url: https://github.com/miloyip/rapidjson.git
+          branches:
+            - 'refs/tags/v1.0.2'
+          wipe-workspace: true
+
+- scm:
+    name: 'git-opflex-ovs-v1'
+    scm:
+      - git:
+          url: https://github.com/noironetworks/ovs.git
+          branches:
+            - 'origin/noiro'
+          wipe-workspace: true
+
+- scm:
+    name: 'git-opflex-ovs-v2'
+    scm:
+      - git:
+          url: https://github.com/openvswitch/ovs.git
+          branches:
+            - 'refs/tags/v2.6.0'
+          wipe-workspace: true
+
+- builder:
+    name: 'builder-opflex-libuv-v1'
+    builders:
+      - shell: !include-raw-escape: deps-inc-v1/libuv_tgz-build.sh
 
 - job-template:
     name: 'opflex-libuv_tgz-{stream}'
 
     project-type: freestyle
-    node: dynamic_verify
+    node: centos7-java-builder-2c-8g
     concurrent: true
 
-    logrotate:
-        daysToKeep: '{build-days-to-keep}'
-        numToKeep: '{build-num-to-keep}'
-        artifactDaysToKeep: '{build-artifact-days-to-keep}'
-        artifactNumToKeep: '{build-artifact-num-to-keep}'
+    properties:
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     scm:
-        - git-opflex-libuv
+      - git-opflex-libuv-{libuv-scm}
 
     wrappers:
-        - build-timeout
-        - ssh-agent-credentials:
-            users:
-                - '{ssh-credentials}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     builders:
-        - shell:
-            !include-raw-escape:
-                - include-raw-libuv_tgz-build.sh
+      - builder-opflex-libuv-{libuv-build}
 
     publishers:
-        - email-notification:
-            email-prefix: '[opflex]'
-        - archive:
-            artifacts: 'install-root/*.tgz'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[opflex]'
+      - archive:
+          artifacts: 'install-root/*.tgz'
+
+- builder:
+    name: 'builder-opflex-rapidjson-v1'
+    builders:
+      - shell: !include-raw-escape: deps-inc-v1/rapidjson_tgz-build.sh
 
 - job-template:
     name: 'opflex-rapidjson_tgz-{stream}'
 
     project-type: freestyle
-    node: dynamic_verify
+    node: centos7-java-builder-2c-8g
     concurrent: true
 
-    logrotate:
-        daysToKeep: '{build-days-to-keep}'
-        numToKeep: '{build-num-to-keep}'
-        artifactDaysToKeep: '{build-artifact-days-to-keep}'
-        artifactNumToKeep: '{build-artifact-num-to-keep}'
+    properties:
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     scm:
-        - git-opflex-rapidjson
+      - git-opflex-rapidjson-{rapidjson-scm}
 
     wrappers:
-        - build-timeout
-        - ssh-agent-credentials:
-            users:
-                - '{ssh-credentials}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     builders:
-        - shell:
-            !include-raw-escape:
-                - include-raw-rapidjson_tgz-build.sh
+      - builder-opflex-rapidjson-{rapidjson-build}
 
     publishers:
-        - email-notification:
-            email-prefix: '[opflex]'
-        - archive:
-            artifacts: 'install-root/*.tgz'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[opflex]'
+      - archive:
+          artifacts: 'install-root/*.tgz'
+
+- builder:
+    name: 'builder-opflex-openvswitch-v1'
+    builders:
+      - shell: !include-raw: deps-inc-v1/openvswitch_tgz-build.sh
+
+- builder:
+    name: 'builder-opflex-openvswitch-v2'
+    builders:
+      - shell: !include-raw: deps-inc-v2/openvswitch_tgz-build.sh
 
 - job-template:
     name: 'opflex-openvswitch_tgz-{stream}'
 
     project-type: freestyle
-    node: dynamic_verify
+    node: centos7-java-builder-2c-8g
     concurrent: true
 
-    axes:
-        - axis:
-            type: slave
-            name: nodes
-            values:
-                - dynamic_verify
-        - axis:
-            type: jdk
-            values: '{obj:jdks}'
-
-    logrotate:
-        daysToKeep: '{build-days-to-keep}'
-        numToKeep: '{build-num-to-keep}'
-        artifactDaysToKeep: '{build-artifact-days-to-keep}'
-        artifactNumToKeep: '{build-artifact-num-to-keep}'
+    properties:
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     scm:
-        - git-opflex-ovs
+      - git-opflex-ovs-{openvswitch-scm}
 
     wrappers:
-        - build-timeout
-        - ssh-agent-credentials:
-            users:
-                - '{ssh-credentials}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     builders:
-        - shell:
-            !include-raw-escape:
-                - include-raw-openvswitch_tgz-build.sh
+      - builder-opflex-openvswitch-{openvswitch-build}
 
     publishers:
-        - email-notification:
-            email-prefix: '[opflex]'
-        - archive:
-            artifacts: 'install-root/*.tgz'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[opflex]'
+      - archive:
+          artifacts: 'install-root/*.tgz'