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