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