# opendaylight-infra-parameters: main project integration/test ($PROJECT)
# jre: (openjdk7 or openjdk8) Java runtime environment to use when launching ODL
# integration-distribution-branch: distribution branch ($DISTROBRANCH)
-# integration-controller-bundleurl: distribution URL ($BUNDLEURL)
+# integration-controller-bundle-url: distribution URL ($BUNDLE_URL)
# integration-controller-scope: only or all features ($CONTROLLERSCOPE)
# integration-controller-features: features under test ($CONTROLLER FEATURES)
# integration-test-options: robot options ($TESTOPTIONS)
branch: '{verify-branch}'
- integration-distribution-stream:
stream: '{verify-stream}'
- - integration-bundleurl:
- bundleurl: '{bundleurl}'
+ - integration-bundle-url:
+ bundle-url: '{bundle-url}'
- integration-controller-scope:
controller-scope: 'only'
- integration-controller-features:
test-plan: '{project}-{functionality}.txt'
- integration-jdk-version:
jdkversion: '{verify-jdkversion}'
+ - distribution-karaf-version:
+ karaf-version: '{verify-karaf-version}'
scm:
- integration-gerrit-scm:
- integration-get-slave-addresses
- inject:
properties-file: 'slave_addresses.txt'
- - integration-get-bundle-vars
- - inject:
- properties-file: 'bundle_vars.txt'
+ - integration-detect-variables
- integration-deploy-controller-run-test
- integration-cleanup-tmp
- job-template:
name: '{project}-csit-1node-{functionality}-{install}-{stream}'
+ # Keep synchronized with *-csit4-*-carbon please.
disabled: false
project-type: freestyle
branch: '{branch}'
- integration-distribution-stream:
stream: '{stream}'
- - integration-bundleurl:
- bundleurl: '{bundleurl}'
+ - integration-bundle-url:
+ bundle-url: '{bundle-url}'
- integration-controller-scope:
controller-scope: '{scope}'
- integration-controller-features:
branch: 'master'
- integration-jdk-version:
jdkversion: '{jre}'
+ - distribution-karaf-version:
+ karaf-version: '{karaf-version}'
scm:
- integration-gerrit-scm:
refspec: '$PATCHREFSPEC'
branch: 'master'
+ triggers:
+ # we need this for not SR projects
+ - integration-csit-trigger:
+ jobs: '{trigger-jobs}'
+
wrappers:
- opendaylight-infra-wrappers:
build-timeout: '{build-timeout}'
- integration-get-slave-addresses
- inject:
properties-file: 'slave_addresses.txt'
- - integration-get-bundle-vars
- - inject:
- properties-file: 'bundle_vars.txt'
+ - integration-detect-variables
- integration-deploy-controller-run-test
- integration-cleanup-tmp
branch: '{branch}'
- integration-distribution-stream:
stream: '{stream}'
- - integration-bundleurl:
- bundleurl: '{bundleurl}'
+ - integration-bundle-url:
+ bundle-url: '{bundle-url}'
- integration-controller-scope:
controller-scope: '{scope}'
- integration-controller-features:
branch: 'master'
- integration-jdk-version:
jdkversion: '{jre}'
+ - distribution-karaf-version:
+ karaf-version: '{karaf-version}'
scm:
- integration-gerrit-scm:
- integration-get-slave-addresses
- inject:
properties-file: 'slave_addresses.txt'
- - integration-get-bundle-vars
- - inject:
- properties-file: 'bundle_vars.txt'
+ - integration-detect-variables
- integration-deploy-controller-run-test
- integration-cleanup-tmp
branch: '{verify-branch}'
- integration-distribution-stream:
stream: '{verify-stream}'
- - integration-bundleurl:
- bundleurl: '{bundleurl}'
+ - integration-bundle-url:
+ bundle-url: '{bundle-url}'
- integration-controller-scope:
controller-scope: 'only'
- integration-controller-features:
test-plan: '{project}-{functionality}.txt'
- integration-jdk-version:
jdkversion: '{verify-jdkversion}'
+ - distribution-karaf-version:
+ karaf-version: '{verify-karaf-version}'
scm:
- integration-gerrit-scm:
- integration-get-slave-addresses
- inject:
properties-file: 'slave_addresses.txt'
- - integration-get-bundle-vars
- - inject:
- properties-file: 'bundle_vars.txt'
+ - integration-detect-variables
- integration-configure-clustering
- integration-start-cluster-run-test
- integration-cleanup-tmp
branch: '{branch}'
- integration-distribution-stream:
stream: '{stream}'
- - integration-bundleurl:
- bundleurl: '{bundleurl}'
+ - integration-bundle-url:
+ bundle-url: '{bundle-url}'
- integration-controller-scope:
controller-scope: '{scope}'
- integration-controller-features:
branch: 'master'
- integration-jdk-version:
jdkversion: '{jre}'
+ - distribution-karaf-version:
+ karaf-version: '{karaf-version}'
scm:
- integration-gerrit-scm:
- integration-get-slave-addresses
- inject:
properties-file: 'slave_addresses.txt'
- - integration-get-bundle-vars
- - inject:
- properties-file: 'bundle_vars.txt'
+ - integration-detect-variables
- integration-configure-clustering
- integration-start-cluster-run-test
- integration-cleanup-tmp
branch: '{branch}'
- integration-distribution-stream:
stream: '{stream}'
- - integration-bundleurl:
- bundleurl: '{bundleurl}'
+ - integration-bundle-url:
+ bundle-url: '{bundle-url}'
- integration-controller-scope:
controller-scope: '{scope}'
- integration-controller-features:
branch: 'master'
- integration-jdk-version:
jdkversion: '{jre}'
+ - distribution-karaf-version:
+ karaf-version: '{karaf-version}'
scm:
- integration-gerrit-scm:
- integration-get-slave-addresses
- inject:
properties-file: 'slave_addresses.txt'
- - integration-get-bundle-vars
- - inject:
- properties-file: 'bundle_vars.txt'
+ - integration-detect-variables
- integration-configure-clustering
- integration-start-cluster-run-test
- integration-cleanup-tmp
branch: '{branch}'
- integration-distribution-stream:
stream: '{stream}'
- - integration-bundleurl:
- bundleurl: '{bundleurl}'
+ - integration-bundle-url:
+ bundle-url: '{bundle-url}'
- integration-controller-scope:
controller-scope: '{scope}'
- integration-controller-features:
branch: 'master'
- integration-jdk-version:
jdkversion: '{jre}'
+ - distribution-karaf-version:
+ karaf-version: '{karaf-version}'
scm:
- integration-gerrit-scm:
- integration-get-slave-addresses
- inject:
properties-file: 'slave_addresses.txt'
- - integration-get-bundle-vars
- - inject:
- properties-file: 'bundle_vars.txt'
+ - integration-detect-variables
- integration-configure-clustering
- integration-start-cluster-run-test
- integration-cleanup-tmp
branch: '{branch}'
- integration-distribution-stream:
stream: '{stream}'
- - integration-bundleurl:
- bundleurl: '{bundleurl}'
+ - integration-bundle-url:
+ bundle-url: '{bundle-url}'
- integration-controller-features:
controller-features: '{install-features}'
- integration-test-options:
branch: 'master'
- integration-jdk-version:
jdkversion: '{jre}'
+ - distribution-karaf-version:
+ karaf-version: '{karaf-version}'
- string:
name: OPENSTACK_BRANCH
default: '{openstack-branch}'
name: DEVSTACK_LBAAS_PLUGIN_REPO
default: '{devstack-lbaas-plugin-repo}'
description: 'URL to fetch neutron-lbaas devstack plugin'
+ - string:
+ name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
+ default: '{devstack-networking-sfc-plugin-repo}'
+ description: 'URL to fetch neutron-lbaas devstack plugin'
- string:
name: ODL_ENABLE_L3_FWD
default: '{odl-enable-l3}'
description: 'Enable L3 FWD in ODL for createing br-ex'
+ - string:
+ name: IPSEC_VXLAN_TUNNELS_ENABLED
+ default: '{ipsec-vxlan-tunnels-enabled}'
+ description: 'Enable ipsec over vxlan support for all controllers and computes'
- string:
name: PUBLIC_BRIDGE
default: '{public-bridge}'
name: NETWORKING_L2GW_DRIVER
default: '{networking-l2gw-repo}'
description: 'URL to fetch networking-l2gw driver'
- - string:
- name: DISABLE_ODL_L3_PLUGIN
- default: '{disable-odl-l3-service-plugin}'
- description: 'Disable odl l3 service plugin'
- string:
name: CREATE_INITIAL_NETWORKS
default: '{create-initial-networks}'
default: '{lbaas-service-provider}'
description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
neutron-lbaas'
+ - string:
+ name: ODL_SFC_DRIVER
+ default: '{odl-sfc-driver}'
+ description: 'The SFC driver to be used in local.conf - only relevant when using networking-sfc'
+ - string:
+ name: ODL_SNAT_MODE
+ default: '{odl-snat-mode}'
+ description: 'The SNAT mode to be configured - options are conntrack/controller.'
scm:
- integration-gerrit-scm:
basedir: 'test'
- integration-get-slave-addresses
- inject:
properties-file: 'slave_addresses.txt'
- - integration-get-bundle-vars
- - inject:
- properties-file: 'bundle_vars.txt'
+ - integration-detect-variables
- integration-deploy-controller-run-test
- integration-deploy-openstack-run-test
- integration-cleanup-tmp
branch: '{branch}'
- integration-distribution-stream:
stream: '{stream}'
- - integration-bundleurl:
- bundleurl: '{bundleurl}'
+ - integration-bundle-url:
+ bundle-url: '{bundle-url}'
- integration-controller-features:
controller-features: '{install-features}'
- integration-test-options:
branch: 'master'
- integration-jdk-version:
jdkversion: '{jre}'
+ - distribution-karaf-version:
+ karaf-version: '{karaf-version}'
- string:
name: OPENSTACK_BRANCH
default: '{openstack-branch}'
name: DEVSTACK_LBAAS_PLUGIN_REPO
default: '{devstack-lbaas-plugin-repo}'
description: 'URL to fetch neutron-lbaas devstack plugin'
+ - string:
+ name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
+ default: '{devstack-networking-sfc-plugin-repo}'
+ description: 'URL to fetch neutron-lbaas devstack plugin'
- string:
name: ODL_ENABLE_L3_FWD
default: '{odl-enable-l3}'
description: 'Enable L3 FWD in ODL for createing br-ex'
+ - string:
+ name: IPSEC_VXLAN_TUNNELS_ENABLED
+ default: '{ipsec-vxlan-tunnels-enabled}'
+ description: 'Enable ipsec over vxlan support for all controllers and computes'
- string:
name: PUBLIC_BRIDGE
default: '{public-bridge}'
name: NETWORKING_L2GW_DRIVER
default: '{networking-l2gw-repo}'
description: 'URL to fetch networking-l2gw driver'
- - string:
- name: DISABLE_ODL_L3_PLUGIN
- default: '{disable-odl-l3-service-plugin}'
- description: 'Disable odl l3 service plugin'
- string:
name: CREATE_INITIAL_NETWORKS
default: '{create-initial-networks}'
default: '{lbaas-service-provider}'
description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
neutron-lbaas'
+ - string:
+ name: NUM_OPENSTACK_SITES
+ default: '{num-openstack-sites}'
+ description: 'Number of openstack sites'
+ - string:
+ name: ODL_SFC_DRIVER
+ default: '{odl-sfc-driver}'
+ description: 'The SFC driver to be used in local.conf - only relevant when using networking-sfc'
+ - string:
+ name: ODL_SNAT_MODE
+ default: '{odl-snat-mode}'
+ description: 'The SNAT mode to be configured - options are conntrack/controller.'
+
scm:
- integration-gerrit-scm:
basedir: 'test'
- integration-get-slave-addresses
- inject:
properties-file: 'slave_addresses.txt'
- - integration-get-bundle-vars
- - inject:
- properties-file: 'bundle_vars.txt'
+ - integration-detect-variables
- integration-deploy-controller-run-test
- integration-deploy-openstack-run-test
- integration-cleanup-tmp
- job-template:
name: '{project}-patch-test-{feature}-{stream}'
- project-type: maven
+ project-type: freestyle
node: centos7-java-builder-2c-8g
concurrent: true
jdk: '{jdk}'
os-cloud: '{os-cloud}'
project: '{project}'
branch: '{branch}'
- refspec: '$GERRIT_REFSPEC'
+ refspec: 'refs/heads/{branch}'
artifacts: '{archive-artifacts}'
- integration-distribution-branch:
branch: '{branch}'
+ - distribution-karaf-version:
+ karaf-version: 'karaf3'
- integration-distribution-git-url:
git-url: '{git-url}'
- string:
name: feature
default: 'all'
description: 'Specific feature test for patch'
+ - maven-exec:
+ maven-version: mvn33
scm:
- integration-gerrit-scm:
unstable: true
notbuilt: true
- prebuilders:
+ builders:
- 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'
+ maven-version: mvn33
pom: '{project}/pom.xml'
- goals: >
+ goals: |
clean install dependency:tree
- -V -B -Pq
+ -Pq
-Dgitid.skip=false
- -Djenkins
-DgenerateReports=false
- -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
-Dstream={stream}
+ {opendaylight-infra-mvn-opts}
java-opts:
- '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
- settings: 'integration-settings'
+ settings: integration-settings
settings-type: cfp
- global-settings: 'odl-global-settings'
+ global-settings: odl-global-settings
global-settings-type: cfp
-
- maven:
- maven-name: 'mvn33'
- root-pom: 'distribution/pom.xml'
- goals: >
- clean install dependency:tree
- -V -B -Pq
- -Dgitid.skip=false
- -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:
+ - maven-target:
+ maven-version: mvn33
+ pom: distribution/pom.xml
+ goals: |
+ clean install dependency:tree
+ -Pq
+ -Dgitid.skip=false
+ {opendaylight-infra-mvn-opts}
+ java-opts:
+ - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
+ settings: integration-settings
+ settings-type: cfp
+ global-settings: odl-global-settings
+ global-settings-type: cfp
+ - integration-upload-distribution:
+ dist-pom: distribution/pom.xml
- trigger-builds:
- project: '{csit-list}'
block: true
- predefined-parameters:
- BUNDLEURL=$BUNDLEURL
+ predefined-parameters: |
+ BUNDLE_URL=$BUNDLE_URL
+ KARAF_VERSION=$KARAF_VERSION
publishers:
- email-notification: