Merge "Add stable/lithium jobs for sxp"
[releng/builder.git] / jjb-templates / integration.yaml
1 - job-template:
2     name: 'PROJECT-integration-{stream}'
3     disabled: DISABLED
4
5     # Job template for ODL integration verify jobs
6     #
7     # This is similar to a normal verify job, but it runs
8     # when a project that's a dependency of your project
9     # is successfully built.
10     #
11     # Required Variables:
12     #     stream:    branch with - in place of / (eg. stable-helium)
13     #     branch:    branch (eg. stable/helium)
14
15     project-type: maven
16     node: dynamic_merge
17     jdk: '{jdk}'
18
19     logrotate:
20         daysToKeep: '{build-days-to-keep}'
21         numToKeep: '{build-num-to-keep}'
22         artifactDaysToKeep: '{build-artifact-days-to-keep}'
23         artifactNumToKeep: '{build-artifact-num-to-keep}'
24
25     parameters:
26         - project-parameter:
27             project: '{project}'
28
29     scm:
30         - git-scm:
31             credentials-id: '{ssh-credentials}'
32             refspec: ''
33             branch: '{branch}'
34
35     wrappers:
36         - build-timeout
37         - ssh-agent-credentials:
38             users:
39                 - '{ssh-credentials}'
40
41     triggers:
42         - reverse:
43             jobs: 'DEPENDENCIES'
44             result: 'success'
45
46     prebuilders:
47         - wipe-org-opendaylight-repo
48
49     maven:
50         maven-name: '{mvn32}'
51         root-pom: 'POM'
52         goals: 'MAVEN_GOALS source:jar javadoc:jar'
53         maven-opts: 'MAVEN_OPTS'
54         settings: '{PROJECT-settings}'
55         global-settings: '{odl-global-settings}'
56
57     postbuilders:
58         - jacoco-nojava-workaround
59
60     reporters:
61         - findbugs
62
63     publishers:
64         - email-notification:
65             email-prefix: 'EMAIL_PREFIX'
66         - jacoco-report