Remove nitrogen branches in projects
[releng/builder.git] / jjb / opflex / opflex.yaml
1 ---
2 - project:
3     name: opflex-release
4     jobs:
5       - 'opflex-release-{stream}'
6
7     stream:
8       - fluorine:
9           branch: 'master'
10           libuv-version: '1.8.0'
11           rapidjson-version: '1.0.2'
12           openvswitch-version: '2.6.0'
13       - oxygen:
14           branch: 'stable/oxygen'
15           libuv-version: '1.8.0'
16           rapidjson-version: '1.0.2'
17           openvswitch-version: '2.6.0'
18
19     project: 'opflex'
20     project-name: 'opflex'
21
22     jdk: 'openjdk8'
23
24     branch: master
25     build-timeout: 60
26     global-settings-file: global-settings
27     settings-file: opflex-settings
28     group-id: org.opendaylight.opflex
29     upload-files-dir: "$WORKSPACE/upload_files"
30
31     # Used by the release job
32     staging-profile-id: 906b0d53d714e
33
34 - job-template:
35     name: 'opflex-release-{stream}'
36
37     node: centos7-builder-2c-8g
38     jdk: '{java-version}'
39
40     ######################
41     # Default parameters #
42     ######################
43
44     build-timeout: 30
45     java-version: openjdk8
46     mvn-opts: ''
47     mvn-params: ''
48     mvn-version: mvn33
49     stream: master
50
51     properties:
52       - opendaylight-infra-properties:
53           build-days-to-keep: '{build-days-to-keep}'
54
55     parameters:
56       - opendaylight-infra-parameters:
57           os-cloud: '{os-cloud}'
58           project: '{project}'
59           branch: '{branch}'
60           refspec: 'refs/heads/{branch}'
61           artifacts: ''
62       - lf-infra-maven-parameters:
63           mvn-opts: '{mvn-opts}'
64           mvn-params: '{mvn-params}'
65           mvn-version: '{mvn-version}'
66           staging-profile-id: '{staging-profile-id}'
67       - string:
68           name: LIBUV_VERSION
69           # yamllint disable-line rule:line-length
70           default: '{libuv-version}'
71           description: 'libuv version to pull from thirdparty repository'
72       - string:
73           name: RAPIDJSON_VERSION
74           # yamllint disable-line rule:line-length
75           default: '{rapidjson-version}'
76           description: 'rapidjson version to pull from thirdparty repository'
77       - string:
78           name: OPENVSWITCH_VERSION
79           # yamllint disable-line rule:line-length
80           default: '{openvswitch-version}'
81           description: 'openvswitch version to pull from thirdparty repository'
82
83     scm:
84       - gerrit-trigger-scm:
85           refspec: ''
86           choosing-strategy: 'default'
87
88     wrappers:
89       - opendaylight-infra-wrappers:
90           build-timeout: '{build-timeout}'
91
92     builders:
93       - opflex-build:
94           mvn33: '{mvn-version}'
95           stream: '{stream}'
96       # todo: replace the builder with generic version in global-jjb
97       - opflex-deploy-maven-file:
98           global-settings-file: '{global-settings-file}'
99           settings-file: '{settings-file}'
100           mvn-version: '{mvn-version}'
101           repo-id: '{staging-profile-id}'
102           group-id: '{group-id}'
103           upload-files-dir: '{upload-files-dir}'
104       - lf-infra-create-netrc:
105           server-id: opendaylight-staging
106       # todo: replace the builder with generic version in global-jjb
107       - opflex-maven-stage:
108           global-settings-file: '{global-settings-file}'
109           settings-file: '{settings-file}'
110           staging-profile-id: '{staging-profile-id}'
111       - lf-provide-maven-settings-cleanup
112
113     publishers:
114       - email-notification:
115           email-recipients: '{email-recipients}'
116           email-prefix: '[opflex]'
117       - lf-infra-publish