- project:
name: integration-test-jobs
jobs:
- - 'integration-csit-verify-1node-{stream}'
+ - 'integration-verify-python'
+ - 'integration-csit-verify-1node-library'
- 'integration-distribution-offline-{stream}'
- 'integration-distribution-test-{stream}'
- 'integration-patch-test-{stream}'
nic-csit-1node-basic-all-{stream},
nic-csit-1node-basic-only-{stream},
openflowplugin-csit-1node-flow-services-only-{stream},
+ openflowplugin-csit-1node-flow-services-lithium-redesign-only-{stream},
openflowplugin-csit-1node-flow-services-all-{stream},
- openflowplugin-csit-1node-flow-services-more-only-{stream},
- openflowplugin-csit-1node-flow-services-more-all-{stream},
openflowplugin-csit-1node-scalability-only-{stream},
+ openflowplugin-csit-1node-scalability-lithium-redesign-only-{stream},
openflowplugin-csit-1node-scalability-all-{stream},
openflowplugin-csit-1node-cbench-performance-only-{stream},
+ openflowplugin-csit-1node-cbench-performance-lithium-redesign-only-{stream},
openflowplugin-csit-1node-config-performance-only-{stream},
+ openflowplugin-csit-1node-config-performance-lithium-redesign-only-{stream},
ovsdb-csit-1node-netvirt-only-{stream},
ovsdb-csit-1node-netvirt-all-{stream},
ovsdb-csit-1node-southbound-only-{stream},
nic-csit-1node-basic-all-{stream},
nic-csit-1node-basic-only-{stream},
openflowplugin-csit-1node-flow-services-only-{stream},
+ openflowplugin-csit-1node-flow-services-lithium-redesign-only-{stream},
openflowplugin-csit-1node-flow-services-all-{stream},
- openflowplugin-csit-1node-flow-services-more-only-{stream},
- openflowplugin-csit-1node-flow-services-more-all-{stream},
openflowplugin-csit-1node-scalability-only-{stream},
+ openflowplugin-csit-1node-scalability-lithium-redesign-only-{stream},
openflowplugin-csit-1node-scalability-all-{stream},
openflowplugin-csit-1node-cbench-performance-only-{stream},
+ openflowplugin-csit-1node-cbench-performance-lithium-redesign-only-{stream},
openflowplugin-csit-1node-config-performance-only-{stream},
+ openflowplugin-csit-1node-config-performance-lithium-redesign-only-{stream},
ovsdb-csit-1node-netvirt-only-{stream},
ovsdb-csit-1node-netvirt-all-{stream},
ovsdb-csit-1node-southbound-only-{stream},
aaa-distribution-{stream},
integration-distribution-merge-{stream}
-# Template: integration-csit-verify-1node-{stream}
-# Goal: Verify changes in csit folder not covered by projects suite verify jobs (e.g. library or variables)
-# Operation: This job template performs a base openflow test every time there is a change in the csit folder.
+# Template: integration-verify-python
+# Goal: Verify python scripts correct syntax
+# Operation: This job template performs a python tox check on any integration/test patch
- job-template:
- name: 'integration-csit-verify-1node-{stream}'
+ name: 'integration-verify-python'
+
+ project-type: freestyle
+ node: dynamic_verify
+ 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}'
+
+ parameters:
+ - project-parameter:
+ project: 'integration/test'
+ - integration-patch-refspec:
+ branch: '$GERRIT_REFSPEC'
+
+ scm:
+ - integration-gerrit-scm:
+ credentials-id: '{ssh-credentials}'
+ basedir: 'test'
+ refspec: '$PATCHREFSPEC'
+ branch: 'master'
+
+ wrappers:
+ - build-timeout
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+
+ triggers:
+ - integration-trigger-patch-submitted:
+ name: 'integration/test'
+ branch: 'master'
+ pattern: '**'
+
+ builders:
+ - shell: |
+ virtualenv $WORKSPACE/venv-tox
+ source $WORKSPACE/venv-tox/bin/activate
+ pip install tox argparse
+ tox --version
+ cd $WORKSPACE/test
+ tox
+
+ publishers:
+ - email-notification:
+ email-prefix: '[integration]'
+
+# Template: integration-csit-verify-1node-library
+# Goal: Verify changes in csit folder not covered by projects suite verify jobs (e.g. libraries or variables)
+# Operation: This job template performs a base openflow test when there is a change in the libraries folder
+
+- job-template:
+ name: 'integration-csit-verify-1node-library'
project-type: freestyle
node: dynamic_robot
parameters:
- project-parameter:
- project: 'integration'
+ project: 'integration/test'
- integration-branch:
- branch: '{branch}'
+ branch: 'master'
- integration-bundleurl:
bundleurl: 'last'
- integration-controller-scope:
controller-scope: 'only'
- integration-controller-features:
- controller-features: 'odl-openflowplugin-flow-services-ui'
+ controller-features: 'odl-openflowplugin-flow-services-ui,odl-bgpcep-pcep-all,odl-bgpcep-bgp-all,odl-bgpcep-bgp,odl-bgpcep-pcep,odl-netconf-connector-all'
- integration-test-options:
test-options: '-e adsal'
- integration-test-plan:
- test-plan: 'openflowplugin-flow-services.txt'
+ test-plan: 'test-libraries.txt'
+ - integration-patch-refspec:
+ branch: '$GERRIT_REFSPEC'
scm:
- - gerrit-trigger-scm:
+ - integration-gerrit-scm:
credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
+ basedir: 'test'
+ refspec: '$PATCHREFSPEC'
+ branch: 'master'
wrappers:
- build-timeout
controller-vms: 1
mininet-image: '{mininet-image}'
mininet-vms: '{mininet-vms}'
+ mininet-cloud-name: '{mininet-cloud-name}'
- ssh-agent-credentials:
users:
- '{ssh-credentials}'
triggers:
- - integration-csit-gerrit-trigger-patch-submitted:
- name: 'integration'
- branch: '{branch}'
+ - integration-trigger-patch-submitted:
+ name: 'integration/test'
+ branch: 'master'
+ pattern: 'csit/libraries/*'
builders:
+ - integration-install-robotframework
+ - inject:
+ properties-file: 'env.properties'
- integration-get-slave-addresses
- inject:
properties-file: 'slave_addresses.txt'
+ - integration-get-bundle-vars
+ - inject:
+ properties-file: 'bundle_vars.txt'
- integration-deploy-controller-run-test
+ - integration-cleanup-tmp
publishers:
- integration-robot:
# Template: integration-distribution-offline-{stream}
# Goal: Verify distribution can start with no internet connection
-# Operation: This daily job template deployes the controller removing any external repository definition
+# Operation: This job deployes the controller removing any external repository definition
+# whenever there is a change in a kernel project (odlparent, controller, yangtools, etc...)
- job-template:
name: 'integration-distribution-offline-{stream}'
parameters:
- project-parameter:
- project: 'integration'
+ project: 'integration/distribution'
- integration-branch:
branch: '{branch}'
- integration-bundleurl:
bundleurl: 'last'
- scm:
- - git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
-
wrappers:
- build-timeout
- ssh-agent-credentials:
result: 'success'
builders:
+ - integration-get-bundle-vars
+ - inject:
+ properties-file: 'bundle_vars.txt'
- integration-deploy-controller-offline
publishers:
artifactNumToKeep: '{build-artifact-num-to-keep}'
parameters:
+ - gerrit-project-parameter:
+ project: '$GERRIT_PROJECT'
+ - gerrit-refspec-parameter:
+ refspec: '$GERRIT_REFSPEC'
- project-parameter:
project: '$GERRIT_PROJECT'
- integration-distribution-git-url
scm:
- integration-gerrit-scm:
credentials-id: '{ssh-credentials}'
+ basedir: '$GERRIT_PROJECT'
+ refspec: '$GERRIT_REFSPEC'
branch: '{branch}'
- integration-distribution-scm:
credentials-id: '{ssh-credentials}'
- inject:
properties-file: 'bundle.txt'
- wipe-org-opendaylight-repo
+ - provide-maven-settings:
+ global-settings-file: '{odl-global-settings}'
+ settings-file: '{yangtools-settings}'
- maven-target:
maven-version: '{mvn33}'
pom: '$GERRIT_PROJECT/pom.xml'