# Job templates in this file (please update with every new template):
#
-# Old templates:
-# {project}-csit-verify-1node-{functionality}-{stream}
-# {project}-csit-1node-imds-{functionality}-{install}-{stream}
-#
# New (for Be release):
# {project}-csit-verify-1node-{functionality}
# {project}-csit-1node-{functionality}-{install}-{stream}
#
# Parameters:
#
-# project-parameter: main project integration/test ($PROJECT)
+# opendaylight-infra-parameters: main project integration/test ($PROJECT)
+# jre: (openjdk7 or openjdk8) Java runtime environment to use when launching ODL
# integration-branch: distribution branch ($BRANCH)
# integration-controller-bundleurl: distribution URL ($BUNDLEURL)
# integration-controller-scope: only or all features ($CONTROLLERSCOPE)
# integration-controller-features: features under test ($CONTROLLER FEATURES)
# integration-test-options: robot options ($TESTOPTIONS)
-# integration-test-plan: robot test plan ($TESTPLAN)
+# integration-stream-test-plan: stream specific robot test plan ($STREAMTESTPLAN)
+# integration-test-plan: fallback robot test plan ($TESTPLAN)
# integration-patch-refspec: test branch ($PATCHREFSPEC)
-
-# Old templates
+# New templates
- job-template:
- name: '{project}-csit-verify-1node-{functionality}-{stream}'
+ name: '{project}-csit-verify-1node-{functionality}'
disabled: false
project-type: freestyle
artifactNumToKeep: '{build-num-to-keep}'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: 'integration/test'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- integration-branch:
- branch: 'master'
+ branch: 'stable/beryllium'
+ - integration-distribution-stream:
+ stream: 'beryllium'
- integration-bundleurl:
bundleurl: 'last'
- integration-controller-scope:
controller-features: '{install-features}'
- integration-test-options:
test-options: '{robot-options}'
+ - integration-stream-test-plan:
+ stream-test-plan: '{project}-{functionality}-beryllium.txt'
- integration-test-plan:
test-plan: '{project}-{functionality}.txt'
- integration-jdk-version:
jdkversion: 'openjdk7'
+ # TODO: Switch to openjdk8 from Boron on.
scm:
- integration-gerrit-scm:
- credentials-id: '{ssh-credentials}'
basedir: 'test'
refspec: '$GERRIT_REFSPEC'
branch: 'master'
wrappers:
- - build-timeout
- - integration-jclouds-controller-mininet:
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
+ - integration-openstack-controller-mininet:
+ controller-image: '{controller-image}'
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-trigger-patch-submitted:
name: 'integration/test'
- branch: '{branch}'
+ branch: 'master'
pattern: 'csit/suites/{project}/**'
builders:
+ - integration-copy-ssh-keys
- integration-cleanup-workspace
- integration-install-robotframework
- inject:
- integration-robot:
unstable-if: 0.0
pass-if: 100.0
- - archive:
- artifacts: 'karaf.log*'
- email-notification:
email-prefix: '[{project}]'
+ - integration-csit-archive-build
+ - archive-build:
+ maven-version: '{mvn33}'
- job-template:
- name: '{project}-csit-1node-imds-{functionality}-{install}-{stream}'
+ name: '{project}-csit-1node-{functionality}-{install}-{stream}'
disabled: false
project-type: freestyle
artifactNumToKeep: '{build-num-to-keep}'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: 'integration/test'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- integration-branch:
branch: '{branch}'
+ - integration-distribution-stream:
+ stream: '{stream}'
- integration-bundleurl:
bundleurl: 'last'
- integration-controller-scope:
controller-features: '{install-features}'
- integration-test-options:
test-options: '{robot-options}'
+ - integration-stream-test-plan:
+ stream-test-plan: '{project}-{functionality}-{stream}.txt'
- integration-test-plan:
test-plan: '{project}-{functionality}.txt'
- integration-patch-refspec:
- branch: 'stable/helium'
+ branch: 'master'
- integration-jdk-version:
- jdkversion: 'openjdk7'
+ jdkversion: '{jre}'
scm:
- integration-gerrit-scm:
- credentials-id: '{ssh-credentials}'
basedir: 'test'
refspec: '$PATCHREFSPEC'
branch: 'master'
wrappers:
- - build-timeout
- - integration-jclouds-controller-mininet:
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
+ - integration-openstack-controller-mininet:
+ controller-image: '{controller-image}'
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-{install}:
jobs: '{trigger-jobs}'
builders:
+ - integration-copy-ssh-keys
- integration-cleanup-workspace
- integration-install-robotframework
- inject:
- integration-robot:
unstable-if: 0.0
pass-if: 100.0
- - archive:
- artifacts: 'karaf.log*'
- email-notification:
email-prefix: '[{project}]'
- plot:
num-builds: '5400'
style: line
use-description: false
- csv-file-name: '{project}-csit-1node-imds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
- keep-records: true
+ csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
series:
- file: '{01-plot-data-file}'
inclusion-flag: 'off'
num-builds: '5400'
style: line
use-description: false
- csv-file-name: '{project}-csit-1node-imds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
- keep-records: true
+ csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
series:
- file: '{02-plot-data-file}'
inclusion-flag: 'off'
display-table: true
format: csv
-
-# New templates
+ - integration-csit-archive-build
+ - archive-build:
+ maven-version: '{mvn33}'
- job-template:
- name: '{project}-csit-verify-1node-{functionality}'
+ name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
disabled: false
project-type: freestyle
artifactNumToKeep: '{build-num-to-keep}'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: 'integration/test'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- integration-branch:
- branch: 'master'
+ branch: '{branch}'
+ - integration-distribution-stream:
+ stream: '{stream}'
- integration-bundleurl:
bundleurl: 'last'
- integration-controller-scope:
- controller-scope: 'only'
+ controller-scope: '{scope}'
- integration-controller-features:
controller-features: '{install-features}'
- integration-test-options:
test-options: '{robot-options}'
+ - integration-stream-test-plan:
+ stream-test-plan: '{project}-{functionality}-{stream}.txt'
- integration-test-plan:
test-plan: '{project}-{functionality}.txt'
+ - integration-patch-refspec:
+ branch: 'master'
- integration-jdk-version:
- jdkversion: 'openjdk7'
+ jdkversion: '{jre}'
scm:
- integration-gerrit-scm:
- credentials-id: '{ssh-credentials}'
basedir: 'test'
- refspec: '$GERRIT_REFSPEC'
+ refspec: '$PATCHREFSPEC'
branch: 'master'
wrappers:
- - build-timeout
- - integration-jclouds-controller-mininet:
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
+ - integration-openstack-controller-mininet:
+ controller-image: '{controller-image}'
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-trigger-patch-submitted:
- name: 'integration/test'
- branch: 'master'
- pattern: 'csit/suites/{project}/**'
+ - timed: '{schedule}'
builders:
+ - integration-copy-ssh-keys
- integration-cleanup-workspace
- integration-install-robotframework
- inject:
- integration-robot:
unstable-if: 0.0
pass-if: 100.0
- - archive:
- artifacts: 'karaf.log*'
- email-notification:
email-prefix: '[{project}]'
+ - plot:
+ - title: '{01-plot-title}'
+ yaxis: '{01-plot-yaxis}'
+ group: '{01-plot-group}'
+ num-builds: '180'
+ style: line
+ use-description: false
+ csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
+ series:
+ - file: '{01-plot-data-file}'
+ inclusion-flag: 'off'
+ display-table: true
+ format: csv
+ - title: '{02-plot-title}'
+ yaxis: '{02-plot-yaxis}'
+ group: '{02-plot-group}'
+ num-builds: '180'
+ style: line
+ use-description: false
+ csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
+ series:
+ - file: '{02-plot-data-file}'
+ inclusion-flag: 'off'
+ display-table: true
+ format: csv
+ - integration-csit-archive-build
+ - archive-build:
+ maven-version: '{mvn33}'
- job-template:
- name: '{project}-csit-1node-{functionality}-{install}-{stream}'
+ name: '{project}-csit-verify-3node-{functionality}'
disabled: false
project-type: freestyle
artifactNumToKeep: '{build-num-to-keep}'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: 'integration/test'
- - integration-branch:
branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
+ - integration-branch:
+ branch: 'stable/beryllium'
+ - integration-distribution-stream:
+ stream: 'beryllium'
- integration-bundleurl:
bundleurl: 'last'
- integration-controller-scope:
- controller-scope: '{scope}'
+ controller-scope: 'only'
- integration-controller-features:
- controller-features: '{install-features}'
+ controller-features: 'odl-jolokia,{install-features}'
- integration-test-options:
test-options: '{robot-options}'
+ - integration-stream-test-plan:
+ stream-test-plan: '{project}-{functionality}-beryllium.txt'
- integration-test-plan:
test-plan: '{project}-{functionality}.txt'
- - integration-patch-refspec:
- branch: 'master'
- integration-jdk-version:
jdkversion: 'openjdk7'
+ # TODO: Switch to openjdk8 from Boron on.
scm:
- integration-gerrit-scm:
- credentials-id: '{ssh-credentials}'
basedir: 'test'
- refspec: '$PATCHREFSPEC'
+ refspec: '$GERRIT_REFSPEC'
branch: 'master'
wrappers:
- - build-timeout
- - integration-jclouds-controller-mininet:
- controller-vms: 1
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
+ - integration-openstack-controller-mininet:
+ controller-image: '{controller-image}'
+ controller-vms: 3
mininet-image: '{mininet-image}'
mininet-vms: '{mininet-vms}'
- mininet-cloud-name: '{mininet-cloud-name}'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
triggers:
- - integration-csit-{install}:
- jobs: '{trigger-jobs}'
+ - integration-trigger-patch-submitted:
+ name: 'integration/test'
+ branch: 'master'
+ pattern: 'csit/suites/{project}/**'
builders:
+ - integration-copy-ssh-keys
- integration-cleanup-workspace
- integration-install-robotframework
- inject:
- integration-get-bundle-vars
- inject:
properties-file: 'bundle_vars.txt'
- - integration-deploy-controller-run-test
+ - integration-configure-clustering
+ - integration-start-cluster-run-test
- integration-cleanup-tmp
publishers:
- integration-robot:
unstable-if: 0.0
pass-if: 100.0
- - archive:
- artifacts: 'karaf.log*'
- email-notification:
email-prefix: '[{project}]'
- - plot:
- - title: '{01-plot-title}'
- yaxis: '{01-plot-yaxis}'
- group: '{01-plot-group}'
- num-builds: '5400'
- style: line
- use-description: false
- csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
- series:
- - file: '{01-plot-data-file}'
- inclusion-flag: 'off'
- display-table: true
- format: csv
- - title: '{02-plot-title}'
- yaxis: '{02-plot-yaxis}'
- group: '{02-plot-group}'
- num-builds: '5400'
- style: line
- use-description: false
- csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
- series:
- - file: '{02-plot-data-file}'
- inclusion-flag: 'off'
- display-table: true
- format: csv
+ - integration-csit-archive-build
+ - archive-build:
+ maven-version: '{mvn33}'
- job-template:
- name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
+ name: '{project}-csit-3node-{functionality}-{install}-{stream}'
disabled: false
project-type: freestyle
artifactNumToKeep: '{build-num-to-keep}'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: 'integration/test'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- integration-branch:
branch: '{branch}'
+ - integration-distribution-stream:
+ stream: '{stream}'
- integration-bundleurl:
bundleurl: 'last'
- integration-controller-scope:
controller-scope: '{scope}'
- integration-controller-features:
- controller-features: '{install-features}'
+ controller-features: 'odl-jolokia,{install-features}'
- integration-test-options:
test-options: '{robot-options}'
+ - integration-stream-test-plan:
+ stream-test-plan: '{project}-{functionality}-{stream}.txt'
- integration-test-plan:
test-plan: '{project}-{functionality}.txt'
- integration-patch-refspec:
branch: 'master'
- integration-jdk-version:
- jdkversion: 'openjdk7'
+ jdkversion: '{jre}'
scm:
- integration-gerrit-scm:
- credentials-id: '{ssh-credentials}'
basedir: 'test'
refspec: '$PATCHREFSPEC'
branch: 'master'
wrappers:
- - integration-jclouds-controller-mininet:
- controller-vms: 1
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
+ - integration-openstack-controller-mininet:
+ controller-image: '{controller-image}'
+ controller-vms: 3
mininet-image: '{mininet-image}'
mininet-vms: '{mininet-vms}'
- mininet-cloud-name: '{mininet-cloud-name}'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
triggers:
- - timed: '{schedule}'
+ - integration-csit-{install}:
+ jobs: '{trigger-jobs}'
builders:
+ - integration-copy-ssh-keys
- integration-cleanup-workspace
- integration-install-robotframework
- inject:
- integration-get-bundle-vars
- inject:
properties-file: 'bundle_vars.txt'
- - integration-deploy-controller-run-test
+ - integration-configure-clustering
+ - integration-start-cluster-run-test
- integration-cleanup-tmp
publishers:
- integration-robot:
unstable-if: 0.0
pass-if: 100.0
- - archive:
- artifacts: '*.log,karaf.log*'
- email-notification:
email-prefix: '[{project}]'
- plot:
- title: '{01-plot-title}'
yaxis: '{01-plot-yaxis}'
group: '{01-plot-group}'
- num-builds: '180'
+ num-builds: '5400'
style: line
use-description: false
- csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
+ csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
series:
- file: '{01-plot-data-file}'
inclusion-flag: 'off'
- title: '{02-plot-title}'
yaxis: '{02-plot-yaxis}'
group: '{02-plot-group}'
- num-builds: '180'
+ num-builds: '5400'
style: line
use-description: false
- csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
+ csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
series:
- file: '{02-plot-data-file}'
inclusion-flag: 'off'
display-table: true
format: csv
+ - integration-csit-archive-build
+ - archive-build:
+ maven-version: '{mvn33}'
- job-template:
- name: '{project}-csit-verify-3node-{functionality}'
+ name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}'
disabled: false
project-type: freestyle
artifactNumToKeep: '{build-num-to-keep}'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: 'integration/test'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- integration-branch:
- branch: 'master'
+ branch: '{branch}'
+ - integration-distribution-stream:
+ stream: '{stream}'
- integration-bundleurl:
bundleurl: 'last'
- integration-controller-scope:
- controller-scope: 'only'
+ controller-scope: '{scope}'
- integration-controller-features:
- controller-features: 'odl-mdsal-clustering,{install-features}'
+ controller-features: 'odl-jolokia,{install-features}'
- integration-test-options:
test-options: '{robot-options}'
+ - integration-stream-test-plan:
+ stream-test-plan: '{project}-{functionality}-{stream}.txt'
- integration-test-plan:
test-plan: '{project}-{functionality}.txt'
+ - integration-patch-refspec:
+ branch: 'master'
- integration-jdk-version:
- jdkversion: 'openjdk7'
+ jdkversion: '{jre}'
scm:
- integration-gerrit-scm:
- credentials-id: '{ssh-credentials}'
basedir: 'test'
- refspec: '$GERRIT_REFSPEC'
+ refspec: '$PATCHREFSPEC'
branch: 'master'
wrappers:
- - build-timeout
- - integration-jclouds-controller-mininet:
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
+ - integration-openstack-controller-mininet:
+ controller-image: '{controller-image}'
controller-vms: 3
mininet-image: '{mininet-image}'
mininet-vms: '{mininet-vms}'
- mininet-cloud-name: '{mininet-cloud-name}'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
triggers:
- - integration-trigger-patch-submitted:
- name: 'integration/test'
- branch: 'master'
- pattern: 'csit/suites/{project}/**'
+ - timed: '{schedule}'
builders:
+ - integration-copy-ssh-keys
- integration-cleanup-workspace
- integration-install-robotframework
- inject:
- integration-get-bundle-vars
- inject:
properties-file: 'bundle_vars.txt'
- - integration-deploy-controller
- integration-configure-clustering
- integration-start-cluster-run-test
- integration-cleanup-tmp
- integration-robot:
unstable-if: 0.0
pass-if: 100.0
- - archive:
- artifacts: '*karaf.log*'
- email-notification:
email-prefix: '[{project}]'
+ - plot:
+ - title: '{01-plot-title}'
+ yaxis: '{01-plot-yaxis}'
+ group: '{01-plot-group}'
+ num-builds: '5400'
+ style: line
+ use-description: false
+ csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
+ series:
+ - file: '{01-plot-data-file}'
+ inclusion-flag: 'off'
+ display-table: true
+ format: csv
+ - title: '{02-plot-title}'
+ yaxis: '{02-plot-yaxis}'
+ group: '{02-plot-group}'
+ num-builds: '5400'
+ style: line
+ use-description: false
+ csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
+ series:
+ - file: '{02-plot-data-file}'
+ inclusion-flag: 'off'
+ display-table: true
+ format: csv
+ - integration-csit-archive-build
+ - archive-build:
+ maven-version: '{mvn33}'
- job-template:
- name: '{project}-csit-3node-{functionality}-{install}-{stream}'
+ name: '{project}-csit-1node-openstack-{openstack}-{functionality}-{stream}'
disabled: false
project-type: freestyle
artifactNumToKeep: '{build-num-to-keep}'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: 'integration/test'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- integration-branch:
branch: '{branch}'
+ - integration-distribution-stream:
+ stream: '{stream}'
- integration-bundleurl:
bundleurl: 'last'
- - integration-controller-scope:
- controller-scope: '{scope}'
- integration-controller-features:
- controller-features: 'odl-mdsal-clustering,{install-features}'
- - integration-test-options:
- test-options: '{robot-options}'
+ controller-features: '{install-features}'
- integration-test-plan:
- test-plan: '{project}-{functionality}.txt'
+ test-plan: '{project}-1node-openstack.txt'
- integration-patch-refspec:
branch: 'master'
- integration-jdk-version:
- jdkversion: 'openjdk7'
-
+ jdkversion: '{jre}'
+ - string:
+ name: OPENSTACK_BRANCH
+ default: '{openstack-branch}'
+ description: 'Openstack version to use with devstack'
+ - string:
+ name: ODL_ML2_DRIVER_REPO
+ default: 'https://github.com/openstack/networking-odl'
+ description: 'URL to fetch networking-odl driver'
+ - string:
+ name: ODL_ML2_VERSION
+ default: '{odl-ml2-version}'
+ description: 'Version of networking-odl to checkout from the repo'
+ - string:
+ name: ODL_ENABLE_L3_FWD
+ default: '{odl-enable-l3}'
+ description: 'Enable L3 FWD in ODL for createing br-ex'
+ - string:
+ name: ENABLE_OS_SERVICES
+ default: '{enable-openstack-services}'
+ description: 'comma seperated list of services to enable'
+ - string:
+ name: DISABLE_OS_SERVICES
+ default: '{disable-openstack-services}'
+ description: 'comma seperated list of services to enable'
+ - string:
+ name: TENANT_NETWORK_TYPE
+ default: '{tenant-network-type}'
+ description: 'Tenant Network Type supported by the implementation'
scm:
- integration-gerrit-scm:
- credentials-id: '{ssh-credentials}'
basedir: 'test'
refspec: '$PATCHREFSPEC'
branch: 'master'
wrappers:
- - build-timeout
- - integration-jclouds-controller-mininet:
- controller-vms: 3
- mininet-image: '{mininet-image}'
- mininet-vms: '{mininet-vms}'
- mininet-cloud-name: '{mininet-cloud-name}'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
+ - integration-openstack-controller-devstack:
+ controller-image: '{controller-image}'
+ controller-vms: 1
+ openstack-image: '{openstack-image}'
+ openstack-vms: '{openstack-vms}'
triggers:
- - integration-csit-{install}:
- jobs: '{trigger-jobs}'
+ - integration-csit-all
builders:
+ - integration-copy-ssh-keys
- integration-cleanup-workspace
- integration-install-robotframework
- inject:
- integration-get-bundle-vars
- inject:
properties-file: 'bundle_vars.txt'
- - integration-deploy-controller
- - integration-configure-clustering
- - integration-start-cluster-run-test
+ - integration-deploy-controller-run-test
+ - integration-deploy-openstack-run-test
- integration-cleanup-tmp
publishers:
- integration-robot:
unstable-if: 0.0
pass-if: 100.0
- - archive:
- artifacts: '*karaf.log*'
- email-notification:
email-prefix: '[{project}]'
- - plot:
- - title: '{01-plot-title}'
- yaxis: '{01-plot-yaxis}'
- group: '{01-plot-group}'
- num-builds: '5400'
- style: line
- use-description: false
- csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
- series:
- - file: '{01-plot-data-file}'
- inclusion-flag: 'off'
- display-table: true
- format: csv
- - title: '{02-plot-title}'
- yaxis: '{02-plot-yaxis}'
- group: '{02-plot-group}'
- num-builds: '5400'
- style: line
- use-description: false
- csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
- series:
- - file: '{02-plot-data-file}'
- inclusion-flag: 'off'
- display-table: true
- format: csv
+ - integration-csit-archive-build
+ - archive-build:
+ maven-version: '{mvn33}'
- job-template:
- name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}'
+ name: '{project}-csit-3node-openstack-{openstack}-{functionality}-{stream}'
disabled: false
project-type: freestyle
artifactNumToKeep: '{build-num-to-keep}'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: 'integration/test'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- integration-branch:
branch: '{branch}'
+ - integration-distribution-stream:
+ stream: '{stream}'
- integration-bundleurl:
bundleurl: 'last'
- - integration-controller-scope:
- controller-scope: '{scope}'
- integration-controller-features:
- controller-features: 'odl-mdsal-clustering,{install-features}'
- - integration-test-options:
- test-options: '{robot-options}'
+ controller-features: 'odl-jolokia,{install-features}'
- integration-test-plan:
- test-plan: '{project}-{functionality}.txt'
+ test-plan: '{project}-3node-openstack.txt'
- integration-patch-refspec:
branch: 'master'
- integration-jdk-version:
- jdkversion: 'openjdk7'
-
+ jdkversion: '{jre}'
+ - string:
+ name: OPENSTACK_BRANCH
+ default: '{openstack-branch}'
+ description: 'Openstack version to use with devstack'
+ - string:
+ name: ODL_ML2_DRIVER_REPO
+ default: 'https://github.com/openstack/networking-odl'
+ description: 'URL to fetch networking-odl driver'
+ - string:
+ name: ODL_ML2_VERSION
+ default: '{odl-ml2-version}'
+ description: 'Version of networking-odl to checkout from the repo'
+ - string:
+ name: ODL_ENABLE_L3_FWD
+ default: '{odl-enable-l3}'
+ description: 'Enable L3 FWD in ODL for createing br-ex'
+ - string:
+ name: ENABLE_HAPROXY_FOR_NEUTRON
+ default: '{enable-haproxy}'
+ description: 'Enable HAProxy for using neutron interface as HA'
+ - string:
+ name: ENABLE_OS_SERVICES
+ default: '{enable-openstack-services}'
+ description: 'comma seperated list of services to enable'
+ - string:
+ name: DISABLE_OS_SERVICES
+ default: '{disable-openstack-services}'
+ description: 'comma seperated list of services to enable'
+ - string:
+ name: TENANT_NETWORK_TYPE
+ default: '{tenant-network-type}'
+ description: 'Tenant Network Type supported by the implementation'
scm:
- integration-gerrit-scm:
- credentials-id: '{ssh-credentials}'
basedir: 'test'
refspec: '$PATCHREFSPEC'
branch: 'master'
wrappers:
- - integration-jclouds-controller-mininet:
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
+ - integration-openstack-controller-devstack:
+ controller-image: '{controller-image}'
controller-vms: 3
- mininet-image: '{mininet-image}'
- mininet-vms: '{mininet-vms}'
- mininet-cloud-name: '{mininet-cloud-name}'
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
+ openstack-image: '{openstack-image}'
+ openstack-vms: '{openstack-vms}'
triggers:
- - timed: '{schedule}'
+ - integration-csit-all
builders:
+ - integration-copy-ssh-keys
- integration-cleanup-workspace
- integration-install-robotframework
- inject:
- integration-get-bundle-vars
- inject:
properties-file: 'bundle_vars.txt'
- - integration-deploy-controller
- integration-configure-clustering
- integration-start-cluster-run-test
+ - integration-deploy-openstack-run-test
- integration-cleanup-tmp
publishers:
- integration-robot:
unstable-if: 0.0
pass-if: 100.0
- - archive:
- artifacts: '*karaf.log*'
- email-notification:
email-prefix: '[{project}]'
- - plot:
- - title: '{01-plot-title}'
- yaxis: '{01-plot-yaxis}'
- group: '{01-plot-group}'
- num-builds: '5400'
- style: line
- use-description: false
- csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
- series:
- - file: '{01-plot-data-file}'
- inclusion-flag: 'off'
- display-table: true
- format: csv
- - title: '{02-plot-title}'
- yaxis: '{02-plot-yaxis}'
- group: '{02-plot-group}'
- num-builds: '5400'
- style: line
- use-description: false
- csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
- series:
- - file: '{02-plot-data-file}'
- inclusion-flag: 'off'
- display-table: true
- format: csv
+ - integration-csit-archive-build
+ - archive-build:
+ maven-version: '{mvn33}'
+
+# Template: {project}-patch-test-{stream}
+# Goal: Build a patch and run project specific system test on a distribution containing the change
+# Operation: This job template builds a patch, creates a distribution containing the patch, and
+# triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
+
+- job-template:
+ name: '{project}-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:
+ - opendaylight-infra-parameters:
+ project: '{project}'
+ branch: '{branch}'
+ refspec: '$GERRIT_REFSPEC'
+ artifacts: '{archive-artifacts}'
+ - integration-branch:
+ branch: '{branch}'
+ - integration-distribution-git-url
+
+ scm:
+ - integration-gerrit-scm:
+ basedir: '{project}'
+ refspec: '$GERRIT_REFSPEC'
+ branch: '{branch}'
+ - integration-distribution-scm:
+ branch: '{branch}'
+
+ wrappers:
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ triggers:
+ - gerrit:
+ server-name: 'OpenDaylight'
+ trigger-on:
+ - comment-added-contains-event:
+ comment-contains-value: 'test-{project}'
+ 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
+
+ prebuilders:
+ - integration-rebase-gerrit-patch
+ - integration-get-bundle-url
+ - inject:
+ properties-file: 'bundle.txt'
+ - wipe-org-opendaylight-repo
+ - provide-maven-settings:
+ global-settings-file: 'odl-global-settings'
+ settings-file: 'integration-settings'
+ - maven-target:
+ maven-version: '{mvn33}'
+ pom: '{project}/pom.xml'
+ goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
+ java-opts:
+ - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
+ settings: 'integration-settings'
+ settings-type: cfp
+ global-settings: 'odl-global-settings'
+ global-settings-type: cfp
+
+ maven:
+ maven-name: '{mvn33}'
+ root-pom: 'distribution/pom.xml'
+ goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
+ maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
+ settings: 'integration-settings'
+ settings-type: cfp
+ global-settings: 'odl-global-settings'
+ global-settings-type: cfp
+ ignore-upstream-changes: true
+ post-step-run-condition: 'SUCCESS'
+
+ postbuilders:
+ - trigger-builds:
+ - project: '{csit-list}'
+ block: true
+ predefined-parameters:
+ BUNDLEURL=$BUNDLEURL
+
+ publishers:
+ - email-notification:
+ email-prefix: '[{project}]'