Merge "Update cloud image list docs"
[releng/builder.git] / jjb / opflex / opflex.yaml
1 ---
2 - project:
3     name: opflex-release
4     jobs:
5       - '{project-name}-rtd-jobs':
6           build-node: centos7-builder-2c-2g
7           project-pattern: opflex
8           rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-opflex/52373/
9           rtd-token: bf99281866a176904cf12861789deaf04d4b0c45
10       - 'opflex-release-{stream}'
11
12     stream:
13       - sodium:
14           branch: 'master'
15           libuv-version: '1.8.0'
16           rapidjson-version: '1.0.2'
17           openvswitch-version: '2.6.0'
18       - neon:
19           branch: 'stable/neon'
20           libuv-version: '1.8.0'
21           rapidjson-version: '1.0.2'
22           openvswitch-version: '2.6.0'
23       - fluorine:
24           branch: 'stable/fluorine'
25           libuv-version: '1.8.0'
26           rapidjson-version: '1.0.2'
27           openvswitch-version: '2.6.0'
28       - oxygen:
29           branch: 'stable/oxygen'
30           libuv-version: '1.8.0'
31           rapidjson-version: '1.0.2'
32           openvswitch-version: '2.6.0'
33           disable-job: true
34
35     project: 'opflex'
36     project-name: 'opflex'
37
38     jdk: 'openjdk8'
39
40     branch: master
41     build-timeout: 60
42     global-settings-file: global-settings
43     settings-file: opflex-settings
44     group-id: org.opendaylight.opflex
45     upload-files-dir: "$WORKSPACE/upload_files"
46
47     # Used by the release job
48     staging-profile-id: 906b0d53d714e
49
50 - job-template:
51     name: 'opflex-release-{stream}'
52
53     node: centos7-builder-2c-8g
54     jdk: '{java-version}'
55     disabled: '{disable-job}'
56
57     ######################
58     # Default parameters #
59     ######################
60
61     disable-job: false
62     build-timeout: 30
63     java-version: openjdk8
64     mvn-opts: ''
65     mvn-params: ''
66     mvn-version: mvn33
67     stream: master
68
69     properties:
70       - opendaylight-infra-properties:
71           build-days-to-keep: '{build-days-to-keep}'
72
73     parameters:
74       - opendaylight-infra-parameters:
75           os-cloud: '{os-cloud}'
76           project: '{project}'
77           branch: '{branch}'
78           refspec: 'refs/heads/{branch}'
79           artifacts: ''
80       - lf-infra-maven-parameters:
81           mvn-opts: '{mvn-opts}'
82           mvn-params: '{mvn-params}'
83           mvn-version: '{mvn-version}'
84           staging-profile-id: '{staging-profile-id}'
85       - string:
86           name: LIBUV_VERSION
87           # yamllint disable-line rule:line-length
88           default: '{libuv-version}'
89           description: 'libuv version to pull from thirdparty repository'
90       - string:
91           name: RAPIDJSON_VERSION
92           # yamllint disable-line rule:line-length
93           default: '{rapidjson-version}'
94           description: 'rapidjson version to pull from thirdparty repository'
95       - string:
96           name: OPENVSWITCH_VERSION
97           # yamllint disable-line rule:line-length
98           default: '{openvswitch-version}'
99           description: 'openvswitch version to pull from thirdparty repository'
100
101     scm:
102       - gerrit-trigger-scm:
103           refspec: ''
104           choosing-strategy: 'default'
105
106     wrappers:
107       - opendaylight-infra-wrappers:
108           build-timeout: '{build-timeout}'
109
110     builders:
111       - lf-infra-pre-build
112       - opflex-build:
113           mvn33: '{mvn-version}'
114           stream: '{stream}'
115       # todo: replace the builder with generic version in global-jjb
116       - opflex-deploy-maven-file:
117           global-settings-file: '{global-settings-file}'
118           settings-file: '{settings-file}'
119           mvn-version: '{mvn-version}'
120           repo-id: '{staging-profile-id}'
121           group-id: '{group-id}'
122           upload-files-dir: '{upload-files-dir}'
123       - lf-infra-create-netrc:
124           server-id: opendaylight-staging
125       # todo: replace the builder with generic version in global-jjb
126       - opflex-maven-stage:
127           global-settings-file: '{global-settings-file}'
128           settings-file: '{settings-file}'
129           staging-profile-id: '{staging-profile-id}'
130       - lf-provide-maven-settings-cleanup
131
132     publishers:
133       - email-notification:
134           email-recipients: '{email-recipients}'
135           email-prefix: '[opflex]'
136       - lf-infra-publish
137
138 - project:
139     name: opflex-view
140     views:
141       - project-view
142     project-name: opflex