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