Merge "Patch robotVM script to support LongevityFramework"
[releng/builder.git] / jjb-templates / periodic.yaml
1 - job-template:
2     name: 'PROJECT_SHORTNAME-periodic-{stream}'
3     disabled: false
4
5     # Job template for periodic builders
6     #
7     # The purpose of this job template is to setup a periodic
8     # builder.
9     #
10     # Required Variables:
11     #     stream:    release stream (eg. stable-lithium or beryllium)
12     #     branch:    git branch (eg. stable/lithium or master)
13
14     project-type: maven
15     node: dynamic_verify
16     jdk: '{jdk}'
17
18     logrotate:
19         daysToKeep: '14'
20         numToKeep: '10'
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             users:
38                 - '{ssh-credentials}'
39         - openstack:
40             single-use: true
41
42     triggers:
43         - timed: '@daily'
44
45     prebuilders:
46         - jacoco-nojava-workaround
47         - provide-maven-settings:
48             global-settings-file: 'odl-global-settings'
49             settings-file: 'JENKINS_SETTINGS'
50
51     maven:
52         maven-name: '{mvn33}'
53         root-pom: 'POM'
54         goals: 'MAVEN_GOALS -V -B -Djenkins'
55         maven-opts: 'MAVEN_OPTS'
56         settings: 'JENKINS_SETTINGS'
57         settings-type: cfp
58         global-settings: 'odl-global-settings'
59         global-settings-type: cfp
60
61     reporters:
62         - findbugs
63
64     publishers:
65         - email-notification:
66             email-prefix: '[PROJECT_SHORTNAME]'
67         - jacoco-report
68         - archive-build:
69             maven-version: '{mvn33}'