d6ff863ea02cd1c7dc5fc670f0550194b98d1e66
[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:    release stream (eg. stable-lithium or beryllium)
13     #     branch:    git branch (eg. stable/lithium or master)
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         - jacoco-nojava-workaround
49
50     maven:
51         maven-name: '{mvn33}'
52         root-pom: 'POM'
53         goals: 'MAVEN_GOALS'
54         maven-opts: 'MAVEN_OPTS'
55         settings: '{PROJECT-settings}'
56         global-settings: '{odl-global-settings}'
57
58     reporters:
59         - findbugs
60
61     publishers:
62         - email-notification:
63             email-prefix: 'EMAIL_PREFIX'
64         - jacoco-report