- jacoco-report
- archive-build:
maven-version: '{mvn33}'
+
+- job-template:
+ name: '{name}-verify-{stream}-{maven}-{jdk}'
+
+ # Job template for ODL verify jobs
+ #
+ # The purpose of this job template is to setup a ODL verify job
+ #
+ # Required Variables:
+ # stream: release stream (eg. stable-lithium or beryllium)
+ # branch: git branch (eg. stable/lithium or master)
+
+ project-type: freestyle
+ node: '{build-node}'
+ concurrent: true
+ jdk: '{jdk}'
+
+ logrotate:
+ daysToKeep: '7'
+
+ parameters:
+ - opendaylight-infra-parameters:
+ project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
+
+ scm:
+ - gerrit-trigger-scm:
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
+
+ wrappers:
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ triggers:
+ - gerrit-trigger-patch-submitted:
+ name: '{project}'
+ branch: '{branch}'
+
+ builders:
+ - jacoco-nojava-workaround
+ - provide-maven-settings:
+ global-settings-file: 'odl-global-settings'
+ settings-file: '{mvn-settings}'
+ - maven-target:
+ maven-version: '{mvn-version}'
+ goals: '{mvn-goals} -V -B -Djenkins -Dstream={stream}'
+ java-opts:
+ - '{mvn-opts}'
+ settings: '{mvn-settings}'
+ settings-type: cfp
+ global-settings: 'odl-global-settings'
+ global-settings-type: cfp
+
+ publishers:
+ - findbugs
+ - email-notification:
+ email-prefix: '[{name}]'
+ - jacoco-report
+ - archive-build:
+ maven-version: '{mvn-version}'