+ publishers:
+ - email-notification:
+ email-prefix: '[$GERRIT_PROJECT]'
+
+# Template: integration-multipatch-test-{stream}
+# Goal: Build one or more patches and run all available system test on a distribution containing the change
+# Operation: This job template checks out and builds each patch provided in job parameters, creates a distribution
+# containing these patches, and triggers the distribution test job which includes most (if not all) available
+# CSIT jobs
+
+- job-template:
+ name: 'integration-multipatch-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:
+ - patches-to-build-parameter:
+ patches_to_build: '$PATCHES_TO_BUILD'
+ - integration-branch:
+ branch: '{branch}'
+
+ wrappers:
+ - build-timeout
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+
+ prebuilders:
+ - wipe-org-opendaylight-repo
+ - integration-multipatch-builder
+ - inject:
+ properties-file: 'bundle.txt'
+ - provide-maven-settings:
+ global-settings-file: '{odl-global-settings}'
+ settings-file: '{yangtools-settings}'
+
+
+ maven:
+ maven-name: '{mvn33}'
+ root-pom: 'patch_tester/pom.xml'
+ # TODO: Make Maven option configurable. Currently tests are not skipped, everything elase is.
+ goals: 'clean install -f patch_tester/pom.xml -Djenkins -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}'
+ maven-opts: '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
+ settings: '{yangtools-settings}'
+ global-settings: '{odl-global-settings}'
+ post-step-run-condition: 'SUCCESS'
+
+ postbuilders:
+ - trigger-builds:
+ - project: 'integration-distribution-test-{stream}'
+ block: true
+ predefined-parameters:
+ BUNDLEURL=$BUNDLEURL
+