- parameter:
name: distribution-karaf-version
# Arguments:
- # karaf-version: Provide, otherwise releng-defaults value is used.
+ # karaf-version: Provide, otherwise defaults.yaml value is used.
parameters:
- string:
name: KARAF_VERSION
default: '{karaf-version}'
- description: 'karaf3 or karaf4, affects ODL deploy scripts'
+ description: 'karaf3, karaf4, odl, affects ODL deploy scripts'
- parameter:
name: integration-bundle-url
default: '{bundle-url}'
description: 'URL to karaf distribution zip'
+- parameter:
+ name: integration-repo-url
+ parameters:
+ - string:
+ name: REPO_URL
+ default: '{repo-url}'
+ description: 'URL to feature repo artifact'
+
- parameter:
name: integration-jdk-version
parameters:
default: '{stream}'
description: 'Distribution stream string, for suites to know which behavior to expect'
+- parameter:
+ name: integration-script-plan
+ parameters:
+ - string:
+ name: SCRIPTPLAN
+ default: '{script-plan}'
+ description: 'Script plan we will run before downloading and un-archiving am ODL distribution'
+
+- parameter:
+ name: integration-config-plan
+ parameters:
+ - string:
+ name: CONFIGPLAN
+ default: '{config-plan}'
+ description: 'Config plan we will run after un-archiving and starting an ODL distribution'
+
- parameter:
name: integration-stream-test-plan
parameters:
description: |
List of space-separated suites. Useful when running specific suites within a testplan.
Do not include ${{WORKSPACE}}/test/csit/suites/ in the values:
- (ex. openstack/connectivity/l2.robot openstack/tempest/tempest.robot
- integration/test/csit/suites/netvirt/ElanService/).
+ (ex. openstack/connectivity/l2.robot openstack/clustering/ha_l2.robot
+ openstack/tempest/tempest.robot netvirt/elan/elan.robot).
- parameter:
name: integration-test-options
exclude-no-code-change: false
- draft-published-event
- comment-added-contains-event:
- comment-contains-value: 'recheck$'
+ comment-contains-value: '^Patch Set[ ]+[0-9]+:([ ]+|[\n]+)(recheck|reverify)$'
override-votes: true
gerrit-build-unstable-verified-value: +1
gerrit-build-unstable-codereview-value: 0
fi
rm ${HOME}/.netrc
mark-unstable-if-failed: true
+
+- publisher:
+ name: integration-csit-collect-netvirt-logs
+ publishers:
+ - postbuildscript:
+ builders:
+ - role: BOTH
+ build-on:
+ - ABORTED
+ - FAILURE
+ - NOT_BUILT
+ - SUCCESS
+ - UNSTABLE
+ build-steps:
+ - inject:
+ properties-file: 'slave_addresses.txt'
+ - shell: |
+ #!/bin/bash
+ source /tmp/common-functions.sh ${BUNDLEFOLDER}
+ collect_netvirt_logs
+ mark-unstable-if-failed: true