Merge "Add verify job to run flake8 against sfc-py project"
[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             user: '{ssh-credentials}'
38
39     triggers:
40         - reverse:
41             jobs: 'DEPENDENCIES'
42             result: 'success'
43
44     prebuilders:
45         - wipe-org-opendaylight-repo
46
47     maven:
48         maven-name: '{mvn32}'
49         root-pom: 'pom.xml'
50         goals: 'MAVEN_GOALS source:jar javadoc:jar'
51         maven-opts: 'MAVEN_OPTS'
52         settings: '{PROJECT-settings}'
53         global-settings: '{odl-global-settings}'
54
55     postbuilders:
56         - jacoco-nojava-workaround
57
58     publishers:
59         - email-notification:
60             email-prefix: 'EMAIL_PREFIX'
61         - jacoco-report