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