Merge "Add extra step in the integration verify job to install distribution"
[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         - integration-get-bundle-url-root
60         - inject:
61             properties-file: 'bundle.txt'
62         - wipe-org-opendaylight-repo
63
64     maven:
65         maven-name: '{mvn33}'
66         root-pom: 'pom.xml'
67         goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
68         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
69         settings: '{integration-settings}'
70         global-settings: '{odl-global-settings}'
71         ignore-upstream-changes: true
72         post-step-run-condition: 'SUCCESS'
73
74     postbuilders:
75         - trigger-builds:
76             - project: 'integration-csit-1node-basic-all-{stream}'
77               block: true
78               predefined-parameters:
79                   BUNDLEURL=$BUNDLEURL
80
81     publishers:
82         - email-notification:
83             email-prefix: '[integration]'
84
85 - job-template:
86     name: 'integration-distribution-merge-{stream}'
87
88     project-type: maven
89     node: dynamic_merge
90     jdk: '{jdk}'
91
92     logrotate:
93         daysToKeep: '{build-days-to-keep}'
94         numToKeep: '{build-num-to-keep}'
95         artifactDaysToKeep: '{build-artifact-days-to-keep}'
96         artifactNumToKeep: '{build-artifact-num-to-keep}'
97
98     parameters:
99         - project-parameter:
100             project: 'integration/distribution'
101
102     scm:
103         - gerrit-trigger-scm:
104             credentials-id: '{ssh-credentials}'
105             refspec: ''
106             choosing-strategy: 'default'
107
108     wrappers:
109         - build-timeout
110         - ssh-agent-credentials:
111             users:
112                 - '{ssh-credentials}'
113
114     triggers:
115         - gerrit-trigger-patch-merged:
116             name: 'integration/distribution'
117             branch: '{branch}'
118
119     prebuilders:
120         - wipe-org-opendaylight-repo
121
122     maven:
123         maven-name: '{mvn33}'
124         root-pom: 'pom.xml'
125         goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r  source:jar javadoc:jar'
126         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
127         settings: '{integration-settings}'
128         global-settings: '{odl-global-settings}'
129
130     publishers:
131         - email-notification:
132             email-prefix: '[integration]'
133         - maven-deploy:
134             id: ''
135             unique-version: true
136             deploy-unstable: false
137