Merge "Removing test distribution deploy"
[releng/builder.git] / jjb-templates / daily.yaml
1 - job-template:
2     name: 'PROJECT-daily-{stream}'
3
4     # Job template for daily builders
5     #
6     # The purpose of this job template is to setup a daily/nightly
7     # builder and pushes to Sonar analysis.
8     #
9     # Required Variables:
10     #     stream:    branch with - in place of / (eg. stable-helium)
11     #     branch:    branch (eg. stable/helium)
12
13     project-type: maven
14     node: dynamic_verify
15     jdk: '{jdk}'
16
17     logrotate:
18         daysToKeep: '{build-days-to-keep}'
19         numToKeep: '{build-num-to-keep}'
20         artifactDaysToKeep: '{build-artifact-days-to-keep}'
21         artifactNumToKeep: '{build-artifact-num-to-keep}'
22
23     parameters:
24         - project-parameter:
25             project: '{project}'
26
27     scm:
28         - git-scm:
29             credentials-id: '{ssh-credentials}'
30             refspec: ''
31             branch: '{branch}'
32
33     wrappers:
34         - build-timeout
35         - ssh-agent-credentials:
36             user: '{ssh-credentials}'
37
38     triggers:
39         - timed: 'H H * * *'
40
41     prebuilders:
42         - wipe-org-opendaylight-repo
43
44     maven:
45         maven-name: '{mvn32}'
46         root-pom: 'POM'
47         goals: 'MAVEN_GOALS source:jar javadoc:jar'
48         maven-opts: 'MAVEN_OPTS'
49         settings: '{PROJECT-settings}'
50         global-settings: '{odl-global-settings}'
51
52     postbuilders:
53         - jacoco-nojava-workaround
54
55     publishers:
56         - email-notification:
57             email-prefix: '[PROJECT]'
58         - jacoco-report