Add customer netvirt-sonar job
[releng/builder.git] / jjb-templates / integration.yaml
1 - job-template:
2     name: 'PROJECT_SHORTNAME-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         - provide-maven-settings:
50             global-settings-file: '{odl-global-settings}'
51             settings-file: '{JENKINS_SETTINGS}'
52
53     maven:
54         maven-name: '{mvn33}'
55         root-pom: 'POM'
56         goals: 'MAVEN_GOALS -Djenkins'
57         maven-opts: 'MAVEN_OPTS'
58         settings: '{JENKINS_SETTINGS}'
59         global-settings: '{odl-global-settings}'
60
61     reporters:
62         - findbugs
63
64     publishers:
65         - email-notification:
66             email-prefix: 'EMAIL_PREFIX'
67         - jacoco-report