Adding integration distribution verify and merge jobs
[releng/builder.git] / jjb / integration / integration-jobs.yaml
1 # ODL Releng build templates
2
3 - project:
4     name: integration
5     jobs:
6         - 'integration-distribution-verify-{stream}'
7         - 'integration-distribution-merge-{stream}'
8
9     # stream:    branch with - in place of / (eg. stable-helium)
10     # branch:    branch (eg. stable/helium)
11     stream:
12         - master:
13             branch: 'master'
14         - stable-helium:
15             branch: 'stable/helium'
16
17     project: 'integration'
18     jdk: 'openjdk7'
19
20 # For the Job templates below replace instances of:
21 # PROJECT with your project name (eg. controller)
22 # MAVEN_GOALS with your maven goals to build
23 # MAVEN_OPTS with your maven options to build
24
25 - job-template:
26     name: 'integration-distribution-verify-{stream}'
27
28     # Job template for ODL verify jobs
29     #
30     # The purpose of this job template is to setup a ODL verify job
31     #
32     # Required Variables:
33     #     stream:    branch with - in place of / (eg. stable-helium)
34     #     branch:    branch (eg. stable/helium)
35
36     project-type: maven
37     node: dynamic_verify
38     concurrent: true
39     jdk: '{jdk}'
40
41     logrotate:
42         daysToKeep: '{build-days-to-keep}'
43         numToKeep: '{build-num-to-keep}'
44         artifactDaysToKeep: '{build-artifact-days-to-keep}'
45         artifactNumToKeep: '{build-artifact-num-to-keep}'
46
47     parameters:
48         - project-parameter:
49             project: '{project}'
50         - gerrit-parameter:
51             branch: '{branch}'
52
53     scm:
54         - gerrit-trigger-scm:
55             credentials-id: '{ssh-credentials}'
56             refspec: '$GERRIT_REFSPEC'
57             choosing-strategy: 'gerrit'
58
59     wrappers:
60         - build-timeout
61         - ssh-agent-credentials:
62             user: '{ssh-credentials}'
63
64     triggers:
65         - integration-distribution-gerrit-trigger-patch-submitted:
66             name: 'integration'
67             branch: '{branch}'
68
69     prebuilders:
70         - wipe-org-opendaylight-repo
71
72     maven:
73         maven-name: '{mvn32}'
74         root-pom: 'pom.xml'
75         goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
76         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
77         settings: '{odlparent-settings}'
78         global-settings: '{odl-global-settings}'
79         ignore-upstream-changes: true
80
81     publishers:
82         - email-notification:
83             email-prefix: '[integration]'
84
85 - job-template:
86     name: 'integration-distribution-merge-{stream}'
87
88     # Job template for ODL merge jobs
89     #
90     # The purpose of this job template is to setup a ODL merge job
91     # and deploy artifacts to Nexus.
92     #
93     # Required Variables:
94     #     stream:    branch with - in place of / (eg. stable-helium)
95     #     branch:    branch (eg. stable/helium)
96
97     project-type: maven
98     node: dynamic_merge
99     jdk: '{jdk}'
100
101     logrotate:
102         daysToKeep: '{build-days-to-keep}'
103         numToKeep: '{build-num-to-keep}'
104         artifactDaysToKeep: '{build-artifact-days-to-keep}'
105         artifactNumToKeep: '{build-artifact-num-to-keep}'
106
107     parameters:
108         - project-parameter:
109             project: '{project}'
110
111     scm:
112         - gerrit-trigger-scm:
113             credentials-id: '{ssh-credentials}'
114             refspec: ''
115             choosing-strategy: 'default'
116
117     wrappers:
118         - build-timeout
119         - ssh-agent-credentials:
120             user: '{ssh-credentials}'
121
122     triggers:
123         - integration-distribution-gerrit-trigger-patch-merged:
124             name: 'integration'
125             branch: '{branch}'
126
127     prebuilders:
128         - wipe-org-opendaylight-repo
129
130     maven:
131         maven-name: '{mvn32}'
132         root-pom: 'pom.xml'
133         goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r  source:jar javadoc:jar'
134         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
135         settings: '{odlparent-settings}'
136         global-settings: '{odl-global-settings}'
137
138     publishers:
139         
140         - email-notification:
141             email-prefix: '[integration]'
142         - maven-deploy:
143             id: ''
144             unique-version: true
145             deploy-unstable: false
146