Auto-generated patches to resolve prettier / yamllint
[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       - silicon:
14           branch: "master"
15           libuv-version: "1.20.2"
16           rapidjson-version: "1.1.0"
17           openvswitch-version: "2.12.0"
18       - aluminium:
19           branch: "stable/aluminium"
20           libuv-version: "1.20.2"
21           rapidjson-version: "1.1.0"
22           openvswitch-version: "2.12.0"
23       - magnesium:
24           branch: "stable/magnesium"
25           libuv-version: "1.20.2"
26           rapidjson-version: "1.1.0"
27           openvswitch-version: "2.12.0"
28       - sodium:
29           branch: "stable/sodium"
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-info
139     jobs:
140       - gerrit-info-yaml-verify
141     project: opflex
142     project-name: opflex
143     branch: master
144     build-node: centos7-builder-2c-1g
145
146 - project:
147     name: opflex-view
148     views:
149       - project-view
150     project-name: opflex