X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fintegration%2Fintegration-jobs.yaml;h=a3966fdd73cacbc7dcf4da2861b56fb7e48b07d7;hb=1288788bcb4949f247cfdaeee3e60671f829ca4a;hp=dc00a762a0d65be547b90f0dce8fb9c74eb20cef;hpb=a31ecf04df078699b09e1e8b14981096edd2ac98;p=releng%2Fbuilder.git diff --git a/jjb/integration/integration-jobs.yaml b/jjb/integration/integration-jobs.yaml index dc00a762a..a3966fdd7 100644 --- a/jjb/integration/integration-jobs.yaml +++ b/jjb/integration/integration-jobs.yaml @@ -1,20 +1,27 @@ -# ODL Releng build templates - project: - name: integration + name: integration-jobs jobs: + - 'integration-csit-verify-{stream}' - 'integration-distribution-verify-{stream}' - 'integration-distribution-merge-{stream}' + - 'integration-distribution-offline-{stream}' + - 'integration-distribution-test-{stream}' + - 'integration-patch-test-{stream}' - # stream: branch with - in place of / (eg. stable-helium) - # branch: branch (eg. stable/helium) stream: - master: branch: 'master' + csit-list: 'aaa-csit-1node-cds-authn-only-{stream},aaa-csit-1node-cds-authn-all-{stream},bgpcep-csit-1node-cds-userfeatures-only-{stream},bgpcep-csit-1node-cds-userfeatures-all-{stream},controller-csit-1node-cds-netconf-only-{stream},controller-csit-1node-cds-netconf-all-{stream},l2switch-csit-1node-cds-switch-only-{stream},l2switch-csit-1node-cds-switch-all-{stream},l2switch-csit-1node-cds-scalability-only-{stream},l2switch-csit-1node-cds-scalability-all-{stream},lispflowmapping-csit-1node-cds-all-only-{stream},lispflowmapping-csit-1node-cds-all-all-{stream},openflowplugin-csit-1node-cds-flow-services-only-{stream},openflowplugin-csit-1node-cds-flow-services-all-{stream},openflowplugin-csit-1node-cds-flow-services-more-only-{stream},openflowplugin-csit-1node-cds-flow-services-more-all-{stream},openflowplugin-csit-1node-cds-scalability-only-{stream},openflowplugin-csit-1node-cds-scalability-all-{stream},openflowplugin-csit-1node-cds-cbench-performance-only-{stream},openflowplugin-csit-1node-cds-config-performance-only-{stream},ovsdb-csit-1node-cds-southbound-only-{stream},ovsdb-csit-1node-cds-southbound-all-{stream},snmp-csit-1node-cds-basic-only-{stream},snmp-csit-1node-cds-basic-all-{stream},tsdr-csit-1node-cds-h2-datastore-only-{stream},tsdr-csit-1node-cds-h2-datastore-all-{stream},tsdr-csit-1node-cds-hbase-datastore-only-{stream},tsdr-csit-1node-cds-hbase-datastore-all-{stream},usc-csit-1node-cds-channel-only-{stream},usc-csit-1node-cds-channel-all-{stream},vpnservice-csit-1node-cds-vpnservice-only-{stream},vpnservice-csit-1node-cds-vpnservice-all-{stream},vtn-csit-1node-cds-manager-only-{stream},vtn-csit-1node-cds-manager-all-{stream}' + + - stable-lithium: + branch: 'stable/lithium' + csit-list: 'aaa-csit-1node-cds-authn-only-{stream},aaa-csit-1node-cds-authn-all-{stream},bgpcep-csit-1node-cds-userfeatures-only-{stream},bgpcep-csit-1node-cds-userfeatures-all-{stream},controller-csit-1node-cds-netconf-only-{stream},controller-csit-1node-cds-netconf-all-{stream},l2switch-csit-1node-cds-switch-only-{stream},l2switch-csit-1node-cds-switch-all-{stream},l2switch-csit-1node-cds-scalability-only-{stream},l2switch-csit-1node-cds-scalability-all-{stream},lispflowmapping-csit-1node-cds-all-only-{stream},lispflowmapping-csit-1node-cds-all-all-{stream},openflowplugin-csit-1node-cds-flow-services-only-{stream},openflowplugin-csit-1node-cds-flow-services-all-{stream},openflowplugin-csit-1node-cds-flow-services-more-only-{stream},openflowplugin-csit-1node-cds-flow-services-more-all-{stream},openflowplugin-csit-1node-cds-scalability-only-{stream},openflowplugin-csit-1node-cds-scalability-all-{stream},openflowplugin-csit-1node-cds-cbench-performance-only-{stream},openflowplugin-csit-1node-cds-config-performance-only-{stream},ovsdb-csit-1node-cds-southbound-only-{stream},ovsdb-csit-1node-cds-southbound-all-{stream},snmp-csit-1node-cds-basic-only-{stream},snmp-csit-1node-cds-basic-all-{stream},usc-csit-1node-cds-channel-only-{stream},usc-csit-1node-cds-channel-all-{stream},vpnservice-csit-1node-cds-vpnservice-only-{stream},vpnservice-csit-1node-cds-vpnservice-all-{stream},vtn-csit-1node-cds-manager-only-{stream},vtn-csit-1node-cds-manager-all-{stream}' + - stable-helium: branch: 'stable/helium' + csit-list: 'aaa-csit-1node-imds-authn-only-{stream},aaa-csit-1node-imds-authn-all-{stream},controller-csit-1node-imds-netconf-only-{stream},controller-csit-1node-imds-netconf-all-{stream},controller-csit-1node-imds-nsf-only-{stream},controller-csit-1node-imds-nsf-all-{stream},l2switch-csit-1node-imds-switch-only-{stream},l2switch-csit-1node-imds-switch-all-{stream},lispflowmapping-csit-1node-imds-all-only-{stream},lispflowmapping-csit-1node-imds-all-all-{stream},openflowplugin-csit-1node-imds-flow-services-only-{stream},openflowplugin-csit-1node-imds-flow-services-all-{stream},vtn-csit-1node-imds-manager-only-{stream},vtn-csit-1node-imds-manager-all-{stream}' - project: 'integration' jdk: 'openjdk7' # For the Job templates below replace instances of: @@ -23,15 +30,70 @@ # MAVEN_OPTS with your maven options to build - job-template: - name: 'integration-distribution-verify-{stream}' + name: 'integration-csit-verify-{stream}' + + project-type: freestyle + node: dynamic_robot + + logrotate: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: 'integration' + - integration-branch: + branch: '{branch}' + - integration-bundleurl: + bundleurl: 'last' + - integration-controller-scope: + controller-scope: 'only' + - integration-controller-features: + controller-features: 'odl-openflowplugin-flow-services-ui' + - integration-test-options: + test-options: '-e adsal' + - integration-test-plan: + test-plan: 'openflowplugin-flow-services.txt' + + scm: + - gerrit-trigger-scm: + credentials-id: '{ssh-credentials}' + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + + wrappers: + - build-timeout + - integration-jclouds-controller-mininet: + controller-vms: 1 + mininet-vms: 1 + - ssh-agent-credentials: + users: + - '{ssh-credentials}' + + triggers: + - integration-csit-gerrit-trigger-patch-submitted: + name: 'integration' + branch: '{branch}' + + builders: + - integration-get-slave-addresses + - inject: + properties-file: 'slave_addresses.txt' + - integration-deploy-controller-run-test + + publishers: + - integration-robot: + unstable-if: 0.0 + pass-if: 0.0 + - archive: + artifacts: 'karaf.log' + - email-notification: + email-prefix: '[integration]' - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: branch with - in place of / (eg. stable-helium) - # branch: branch (eg. stable/helium) +- job-template: + name: 'integration-distribution-verify-{stream}' project-type: maven node: dynamic_verify @@ -46,7 +108,7 @@ parameters: - project-parameter: - project: '{project}' + project: 'integration' - gerrit-parameter: branch: '{branch}' @@ -59,7 +121,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - integration-distribution-gerrit-trigger-patch-submitted: @@ -72,9 +135,9 @@ maven: maven-name: '{mvn32}' root-pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: '{odlparent-settings}' + goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar' + maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' + settings: '{integration-settings}' global-settings: '{odl-global-settings}' ignore-upstream-changes: true @@ -85,15 +148,6 @@ - job-template: name: 'integration-distribution-merge-{stream}' - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: branch with - in place of / (eg. stable-helium) - # branch: branch (eg. stable/helium) - project-type: maven node: dynamic_merge jdk: '{jdk}' @@ -106,7 +160,7 @@ parameters: - project-parameter: - project: '{project}' + project: 'integration' scm: - gerrit-trigger-scm: @@ -117,7 +171,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - integration-distribution-gerrit-trigger-patch-merged: @@ -130,13 +185,12 @@ maven: maven-name: '{mvn32}' root-pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: '{odlparent-settings}' + goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar' + maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' + settings: '{integration-settings}' global-settings: '{odl-global-settings}' publishers: - - email-notification: email-prefix: '[integration]' - maven-deploy: @@ -144,3 +198,161 @@ unique-version: true deploy-unstable: false +- job-template: + name: 'integration-distribution-offline-{stream}' + + project-type: freestyle + node: dynamic_controller + + logrotate: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: 'integration' + - integration-branch: + branch: '{branch}' + - integration-bundleurl: + bundleurl: 'last' + + scm: + - git-scm: + credentials-id: '{ssh-credentials}' + refspec: '' + branch: '{branch}' + + wrappers: + - build-timeout + - ssh-agent-credentials: + users: + - '{ssh-credentials}' + + triggers: + - timed: 'H H * * *' + + builders: + - integration-deploy-controller-offline + + publishers: + - archive: + artifacts: 'karaf.log' + - email-notification: + email-prefix: '[integration]' + +- job-template: + name: 'integration-distribution-test-{stream}' + + project-type: freestyle + node: dynamic_controller + + logrotate: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - integration-bundleurl: + bundleurl: 'last' + + triggers: + - timed: 'H H * * *' + + builders: + - trigger-builds: + - project: '{csit-list}' + block: true + predefined-parameters: + BUNDLEURL=$BUNDLEURL + + publishers: + - email-notification: + email-prefix: '[integration]' + +- job-template: + name: 'integration-patch-test-{stream}' + + project-type: maven + node: dynamic_verify + jdk: '{jdk}' + + logrotate: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: 'integration' + - integration-patch-git-url + + scm: + - integration-gerrit-scm: + credentials-id: '{ssh-credentials}' + branch: '{branch}' + - integration-git-scm: + credentials-id: '{ssh-credentials}' + branch: '{branch}' + + wrappers: + - build-timeout + - ssh-agent-credentials: + users: + - '{ssh-credentials}' + + triggers: + - gerrit: + server-name: 'OpenDaylight' + trigger-on: + - comment-added-contains-event: + comment-contains-value: 'test-integration' + projects: + - project-compare-type: 'ANT' + project-pattern: '**' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/{branch}' + skip-vote: + successful: true + failed: true + unstable: true + notbuilt: true + + prebuilders: + - integration-get-bundle-url + - inject: + properties-file: 'bundle.txt' + - wipe-org-opendaylight-repo + - maven-target: + maven-version: '{mvn32}' + pom: '$GERRIT_PROJECT/pom.xml' + goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar' + java-opts: + - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' + settings: '{integration-settings}' + global-settings: '{odl-global-settings}' + + maven: + maven-name: '{mvn32}' + root-pom: 'integration/pom.xml' + goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar' + maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' + settings: '{integration-settings}' + global-settings: '{odl-global-settings}' + ignore-upstream-changes: true + + postbuilders: + - trigger-builds: + - project: 'integration-distribution-test-{stream}' + block: true + predefined-parameters: + BUNDLEURL=$BUNDLEURL + + publishers: + - email-notification: + email-prefix: '[integration]' +