Create stable/neon branch bump master to sodium
[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
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
55     ######################
56     # Default parameters #
57     ######################
58
59     build-timeout: 30
60     java-version: openjdk8
61     mvn-opts: ''
62     mvn-params: ''
63     mvn-version: mvn33
64     stream: master
65
66     properties:
67       - opendaylight-infra-properties:
68           build-days-to-keep: '{build-days-to-keep}'
69
70     parameters:
71       - opendaylight-infra-parameters:
72           os-cloud: '{os-cloud}'
73           project: '{project}'
74           branch: '{branch}'
75           refspec: 'refs/heads/{branch}'
76           artifacts: ''
77       - lf-infra-maven-parameters:
78           mvn-opts: '{mvn-opts}'
79           mvn-params: '{mvn-params}'
80           mvn-version: '{mvn-version}'
81           staging-profile-id: '{staging-profile-id}'
82       - string:
83           name: LIBUV_VERSION
84           # yamllint disable-line rule:line-length
85           default: '{libuv-version}'
86           description: 'libuv version to pull from thirdparty repository'
87       - string:
88           name: RAPIDJSON_VERSION
89           # yamllint disable-line rule:line-length
90           default: '{rapidjson-version}'
91           description: 'rapidjson version to pull from thirdparty repository'
92       - string:
93           name: OPENVSWITCH_VERSION
94           # yamllint disable-line rule:line-length
95           default: '{openvswitch-version}'
96           description: 'openvswitch version to pull from thirdparty repository'
97
98     scm:
99       - gerrit-trigger-scm:
100           refspec: ''
101           choosing-strategy: 'default'
102
103     wrappers:
104       - opendaylight-infra-wrappers:
105           build-timeout: '{build-timeout}'
106
107     builders:
108       - lf-infra-pre-build
109       - opflex-build:
110           mvn33: '{mvn-version}'
111           stream: '{stream}'
112       # todo: replace the builder with generic version in global-jjb
113       - opflex-deploy-maven-file:
114           global-settings-file: '{global-settings-file}'
115           settings-file: '{settings-file}'
116           mvn-version: '{mvn-version}'
117           repo-id: '{staging-profile-id}'
118           group-id: '{group-id}'
119           upload-files-dir: '{upload-files-dir}'
120       - lf-infra-create-netrc:
121           server-id: opendaylight-staging
122       # todo: replace the builder with generic version in global-jjb
123       - opflex-maven-stage:
124           global-settings-file: '{global-settings-file}'
125           settings-file: '{settings-file}'
126           staging-profile-id: '{staging-profile-id}'
127       - lf-provide-maven-settings-cleanup
128
129     publishers:
130       - email-notification:
131           email-recipients: '{email-recipients}'
132           email-prefix: '[opflex]'
133       - lf-infra-publish
134
135 - project:
136     name: opflex-view
137     views:
138       - project-view
139     project-name: opflex