Merge "Add Boron branch and csit jobs for jsonrpc"
[releng/builder.git] / jjb / ovsdb / ovsdb-full-integration.yaml
index 52cd8fc9548bc85b10039fe0685e389029008cf5..037c9d58e2cb0683f459faeaff6a4fa8863e327e 100644 (file)
@@ -1,31 +1,25 @@
+---
 - project:
     name: ovsdb-full-integration
     jobs:
-        - 'ovsdb-daily-full-integration-{stream}'
+      - 'ovsdb-daily-full-integration-{stream}'
 
-    # stream:    release stream (eg. stable-lithium or beryllium)
-    # branch:    git branch (eg. stable/lithium or master)
     stream:
-        - carbon:
-            branch: 'master'
-            jdk: openjdk8
-            jdks:
-                - openjdk8
-        - boron:
-            branch: 'stable/boron'
-            jdk: openjdk8
-            jdks:
-                - openjdk8
-        - beryllium:
-            branch: 'stable/beryllium'
-            jdk: openjdk8
-            jdks:
-                - openjdk8
-        - stable-lithium:
-            branch: 'stable/lithium'
-            jdk: openjdk7
-            jdks:
-                - openjdk7
+      - nitrogen:
+          branch: 'master'
+          jre: 'openjdk8'
+      - carbon:
+          branch: 'stable/carbon'
+          jdk: openjdk8
+          jdks:
+            - openjdk8
+          karaf-version: karaf3
+      - boron:
+          branch: 'stable/boron'
+          jdk: openjdk8
+          jdks:
+            - openjdk8
+          karaf-version: karaf3
 
     project: 'ovsdb'
     archive-artifacts: '*.log'
 - builder:
     name: ovsdb-run-it
     builders:
-        - maven-target:
-            maven-version: '{maven-version}'
-            pom: '{pomFile}'
-            goals: '-V -B verify -l {logfile} -Pintegrationtest -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true -Dovsdb.controller.address=${{CONTROLLER_IP}}'
-            properties:
-                - 'ovsdbserver.ipaddress=127.0.0.1'
-                - 'ovsdbserver.port=6641'
-                - 'ovsdb.userspace.enabled=yes'
-                - 'maven.repo.local=/tmp/r'
-                - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
-                - 'stream={stream}'
-            java-opts:
-                - '-Xmx1024m -XX:MaxPermSize=256m'
-            settings: 'ovsdb-settings'
-            settings-type: cfp
-            global-settings: 'odl-global-settings'
-            global-settings-type: cfp
+      - maven-target:
+          maven-version: '{maven-version}'
+          pom: '{pomFile}'
+          goals: >
+              -V -B verify -l {logfile} -Pintegrationtest
+              -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true
+              -Dovsdb.controller.address=${{CONTROLLER_IP}}
+          properties:
+            - 'ovsdbserver.ipaddress=127.0.0.1'
+            - 'ovsdbserver.port=6641'
+            - 'ovsdb.userspace.enabled=yes'
+            - 'maven.repo.local=/tmp/r'
+            - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
+            - 'stream={stream}'
+          java-opts:
+            - '-Xmx1024m -XX:MaxPermSize=256m'
+          settings: 'ovsdb-settings'
+          settings-type: cfp
+          global-settings: 'odl-global-settings'
+          global-settings-type: cfp
 
 - builder:
     name: run-library-it
     builders:
-        - ovsdb-run-it:
-            maven-version: '{maven-version}'
-            stream: '{stream}'
-            pomFile: 'library/it/pom.xml'
-            logfile: '{OVS_VERSION}-libraryIT.log'
+      - ovsdb-run-it:
+          maven-version: '{maven-version}'
+          stream: '{stream}'
+          pomFile: 'library/it/pom.xml'
+          logfile: '{OVS_VERSION}-libraryIT.log'
 
 - builder:
     name: run-southbound-it
     builders:
-        - ovsdb-run-it:
-            maven-version: '{maven-version}'
-            stream: '{stream}'
-            pomFile: 'southbound/southbound-it/pom.xml'
-            logfile: '{OVS_VERSION}-southboundIT.log'
+      - ovsdb-run-it:
+          maven-version: '{maven-version}'
+          stream: '{stream}'
+          pomFile: 'southbound/southbound-it/pom.xml'
+          logfile: '{OVS_VERSION}-southboundIT.log'
 
 - builder:
     name: run-hwvtepsouthbound-it
     builders:
-        - ovsdb-run-it:
-            maven-version: '{maven-version}'
-            stream: '{stream}'
-            pomFile: 'hwvtepsouthbound/hwvtepsouthbound-it/pom.xml'
-            logfile: '{OVS_VERSION}-hwvtepsouthboundIT.log'
+      - ovsdb-run-it:
+          maven-version: '{maven-version}'
+          stream: '{stream}'
+          pomFile: 'hwvtepsouthbound/hwvtepsouthbound-it/pom.xml'
+          logfile: '{OVS_VERSION}-hwvtepsouthboundIT.log'
 
 - builder:
     name: run-ovsdb-it
     builders:
-        - inject:
-            properties-content: OVS_VERSION={OVS_VERSION}
-        - shell:
-            !include-raw-escape:
-                - include-raw-setup-docker.sh
-        - inject:
-            properties-file: env.properties
-        - run-southbound-it:
-            OVS_VERSION: '{OVS_VERSION}'
-            maven-version: '{maven-version}'
-            stream: '{stream}'
-        - shell:
-            !include-raw-escape:
-                - include-setup-hwvtep-docker.sh
-        - run-library-it:
-            OVS_VERSION: '{OVS_VERSION}'
-            maven-version: '{maven-version}'
-            stream: '{stream}'
-        - run-hwvtepsouthbound-it:
-            OVS_VERSION: '{OVS_VERSION}'
-            maven-version: '{maven-version}'
-            stream: '{stream}'
-        - shell:
-            !include-raw-escape:
-                - include-raw-cleanup-docker.sh
+      - inject:
+          properties-content: OVS_VERSION={OVS_VERSION}
+      - shell: !include-raw-escape: include-raw-setup-docker.sh
+      - inject:
+          properties-file: env.properties
+      - run-southbound-it:
+          OVS_VERSION: '{OVS_VERSION}'
+          maven-version: '{maven-version}'
+          stream: '{stream}'
+      - shell: !include-raw-escape: include-setup-hwvtep-docker.sh
+      - run-library-it:
+          OVS_VERSION: '{OVS_VERSION}'
+          maven-version: '{maven-version}'
+          stream: '{stream}'
+      - run-hwvtepsouthbound-it:
+          OVS_VERSION: '{OVS_VERSION}'
+          maven-version: '{maven-version}'
+          stream: '{stream}'
+      - shell: !include-raw-escape: include-raw-cleanup-docker.sh
 
 - job-template:
     name: 'ovsdb-daily-full-integration-{stream}'
 
-    # Required Variables:
-    #     stream:    release stream (eg. stable-lithium or beryllium)
-    #     branch:    git branch (eg. stable/lithium or master)
-
     project-type: freestyle
     node: centos7-docker-2c-4g
     jdk: '{jdk}'
-    description: 'Integration tests for the OVSDB project against different versions of OVS and branches. This job runs nightly. '
+    description: >
+        Integration tests for the OVSDB project against different versions of
+        OVS and branches. This job runs nightly.
 
-    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}'
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
+      - opendaylight-infra-parameters:
+          os-cloud: '{os-cloud}'
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
 
     scm:
-        - gerrit-trigger-scm:
-            refspec: '$GERRIT_REFSPEC'
-            branch: '{branch}'
-            choosing-strategy: gerrit
+      - gerrit-trigger-scm:
+          refspec: '$GERRIT_REFSPEC'
+          branch: '{branch}'
+          choosing-strategy: gerrit
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - timed: '@midnight'
-        - gerrit:
-            server-name: 'OpenDaylight'
-            trigger-on:
-              - comment-added-contains-event:
-                 comment-contains-value: 'runit'
-            projects:
-              - project-compare-type: 'ANT'
-                project-pattern: '{project}'
-                branches:
-                  - branch-compare-type: 'ANT'
-                    branch-pattern: '**/{branch}'
-            skip-vote:
-                successful: true
-                failed: true
-                unstable: true
-                notbuilt: true
+      - timed: '@midnight'
+      - gerrit:
+          server-name: '{server-name}'
+          trigger-on:
+            - comment-added-contains-event:
+                comment-contains-value: 'runit'
+          projects:
+            - project-compare-type: 'ANT'
+              project-pattern: '{project}'
+              branches:
+                - branch-compare-type: 'ANT'
+                  branch-pattern: '**/{branch}'
+          skip-vote:
+            successful: true
+            failed: true
+            unstable: true
+            notbuilt: true
 
     builders:
-        - wipe-org-opendaylight-repo
-        - maven-target:
-            maven-version: '{mvn33}'
-            pom: 'pom.xml'
-            goals: '-V -B -l build.log clean install dependency:tree -Pq -Dmaven.compile.fork=true'
-            properties:
-                - 'maven.repo.local=/tmp/r'
-                - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
-                - 'stream={stream}'
-            java-opts:
-                - '-Xmx1024m -XX:MaxPermSize=256m'
-            settings: 'ovsdb-settings'
-            settings-type: cfp
-            global-settings: 'odl-global-settings'
-            global-settings-type: cfp
-        - run-ovsdb-it:
-            maven-version: '{mvn33}'
-            stream: '{stream}'
-            OVS_VERSION: '2.4.0'
-        - run-ovsdb-it:
-            maven-version: '{mvn33}'
-            stream: '{stream}'
-            OVS_VERSION: '2.5.0'
-        - jacoco-nojava-workaround
+      - wipe-org-opendaylight-repo
+      - maven-target:
+          maven-version: 'mvn33'
+          pom: 'pom.xml'
+          goals: '-V -B -l build.log clean install dependency:tree -Pq -Dmaven.compile.fork=true'
+          properties:
+            - 'maven.repo.local=/tmp/r'
+            - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
+            - 'stream={stream}'
+          java-opts:
+            - '-Xmx1024m -XX:MaxPermSize=256m'
+          settings: 'ovsdb-settings'
+          settings-type: cfp
+          global-settings: 'odl-global-settings'
+          global-settings-type: cfp
+      - run-ovsdb-it:
+          maven-version: 'mvn33'
+          stream: '{stream}'
+          OVS_VERSION: '2.4.0'
+      - run-ovsdb-it:
+          maven-version: 'mvn33'
+          stream: '{stream}'
+          OVS_VERSION: '2.5.0'
+      - jacoco-nojava-workaround
 
     publishers:
-        - email-notification:
-            email-prefix: '[ovsdb]'
-        - opendaylight-infra-shiplogs:
-            maven-version: '{mvn33}'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[ovsdb]'
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'