Merge "Fix distribution jobs"
[releng/builder.git] / jjb / integration / integration-distribution-jobs.yaml
1
2 - project:
3     name: integration-distribution-jobs
4     jobs:
5         - 'integration-distribution-verify-{stream}'
6         - 'integration-distribution-merge-{stream}'
7
8     stream:
9         - beryllium:
10             branch: 'master'
11
12         - stable-lithium:
13             branch: 'stable/lithium'
14
15         - stable-helium:
16             branch: 'stable/helium'
17
18     jdk: 'openjdk7'
19
20
21 - job-template:
22     name: 'integration-distribution-verify-{stream}'
23
24     project-type: maven
25     node: dynamic_verify
26     concurrent: true
27     jdk: '{jdk}'
28
29     logrotate:
30         daysToKeep: '{build-days-to-keep}'
31         numToKeep: '{build-num-to-keep}'
32         artifactDaysToKeep: '{build-artifact-days-to-keep}'
33         artifactNumToKeep: '{build-artifact-num-to-keep}'
34
35     parameters:
36         - project-parameter:
37             project: 'integration/distribution'
38         - gerrit-parameter:
39             branch: '{branch}'
40
41     scm:
42         - gerrit-trigger-scm:
43             credentials-id: '{ssh-credentials}'
44             refspec: '$GERRIT_REFSPEC'
45             choosing-strategy: 'gerrit'
46
47     wrappers:
48         - build-timeout
49         - ssh-agent-credentials:
50             users:
51                 - '{ssh-credentials}'
52
53     triggers:
54         - gerrit-trigger-patch-submitted:
55             name: 'integration/distribution'
56             branch: '{branch}'
57
58     prebuilders:
59         - wipe-org-opendaylight-repo
60
61     maven:
62         maven-name: '{mvn33}'
63         root-pom: 'pom.xml'
64         goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
65         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
66         settings: '{integration-settings}'
67         global-settings: '{odl-global-settings}'
68         ignore-upstream-changes: true
69
70     publishers:
71         - email-notification:
72             email-prefix: '[integration]'
73
74 - job-template:
75     name: 'integration-distribution-merge-{stream}'
76
77     project-type: maven
78     node: dynamic_merge
79     jdk: '{jdk}'
80
81     logrotate:
82         daysToKeep: '{build-days-to-keep}'
83         numToKeep: '{build-num-to-keep}'
84         artifactDaysToKeep: '{build-artifact-days-to-keep}'
85         artifactNumToKeep: '{build-artifact-num-to-keep}'
86
87     parameters:
88         - project-parameter:
89             project: 'integration/distribution'
90
91     scm:
92         - gerrit-trigger-scm:
93             credentials-id: '{ssh-credentials}'
94             refspec: ''
95             choosing-strategy: 'default'
96
97     wrappers:
98         - build-timeout
99         - ssh-agent-credentials:
100             users:
101                 - '{ssh-credentials}'
102
103     triggers:
104         - gerrit-trigger-patch-merged:
105             name: 'integration/distribution'
106             branch: '{branch}'
107
108     prebuilders:
109         - wipe-org-opendaylight-repo
110
111     maven:
112         maven-name: '{mvn33}'
113         root-pom: 'pom.xml'
114         goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r  source:jar javadoc:jar'
115         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
116         settings: '{integration-settings}'
117         global-settings: '{odl-global-settings}'
118
119     publishers:
120         - email-notification:
121             email-prefix: '[integration]'
122         - maven-deploy:
123             id: ''
124             unique-version: true
125             deploy-unstable: false
126