- - 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:
+ - gerrit-parameters:
+ project: '{project}'
+ branch: '{branch}'
+ refspec: '$GERRIT_REFSPEC'
+ - project-parameter:
+ project: '{project}'
+ - 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}]'