Migrate docs-rtd to archive-builds macro
[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             refspec: ''
32             branch: '{branch}'
33
34     wrappers:
35         - opendaylight-infra-wrappers:
36             build-timeout: '{build-timeout}'
37
38     triggers:
39         - reverse:
40             jobs: 'DEPENDENCIES'
41             result: 'success'
42
43     prebuilders:
44         - jacoco-nojava-workaround
45         - provide-maven-settings:
46             global-settings-file: 'odl-global-settings'
47             settings-file: 'JENKINS_SETTINGS'
48
49     maven:
50         maven-name: '{mvn33}'
51         root-pom: 'POM'
52         goals: 'MAVEN_GOALS -V -B -Djenkins'
53         maven-opts: 'MAVEN_OPTS'
54         settings: 'JENKINS_SETTINGS'
55         settings-type: cfp
56         global-settings: 'odl-global-settings'
57         global-settings-type: cfp
58
59     reporters:
60         - findbugs
61
62     publishers:
63         - email-notification:
64             email-prefix: 'EMAIL_PREFIX'
65         - jacoco-report
66         - archive-build:
67             maven-version: '{mvn33}'