Merge "Move unimgr Sonar scan to Sonarcloud"
[releng/builder.git] / jjb / netvirt / netvirt-dependencies.yaml
1 ---
2 - project:
3     name: netvirt-thirdparty-quagga-dependencies
4     project: 'netvirt'
5     project-name: 'netvirt'
6     jobs:
7       - 'netvirt-thirdparty-quagga-{platform}'
8
9     quagga-version: '5'
10     mvn-opts: ''
11     mvn-params: ''
12     mvn-version: mvn35
13
14     # common parameters required for 'lf-infra-deploy-maven-file' builder
15     repo-id: 'thirdparty'
16     upload-files-dir: '$WORKSPACE/upload_files'
17     group-id: 'quagga$QUAGGA_VERSION'
18
19     # Used by the release job
20     staging-profile-id: a67da0ffbb1ba
21
22     platform:
23       - centos7:
24           build-node: centos7-builder-2c-8g
25       - ubuntu1604:
26           build-node: ubuntu1604-mininet-ovs-25-1c-4g
27       - ubuntu1804:
28           build-node: ubuntu1804-mininet-ovs-25-1c-4g
29
30 - job-template:
31     name: 'netvirt-thirdparty-quagga-{platform}'
32     project-type: freestyle
33     node: '{build-node}'
34     concurrent: true
35
36     properties:
37       - opendaylight-infra-properties:
38           build-days-to-keep: '{build-days-to-keep}'
39
40     parameters:
41       - opendaylight-infra-parameters:
42           os-cloud: '{os-cloud}'
43           project: '{project}'
44           branch: '{branch}'
45           refspec: 'refs/heads/{branch}'
46           artifacts: '{archive-artifacts}'
47       - lf-infra-maven-parameters:
48           mvn-opts: '{mvn-opts}'
49           mvn-params: '{mvn-params}'
50           mvn-version: '{mvn-version}'
51           staging-profile-id: '{staging-profile-id}'
52       - string:
53           name: QUAGGA_VERSION
54           default: '{quagga-version}'
55           description: 'quagga version'
56
57     scm:
58       - git-netvirt-quagga
59
60     wrappers:
61       - opendaylight-infra-wrappers:
62           build-timeout: '{build-timeout}'
63
64     builders:
65       - lf-infra-pre-build
66       - netvirt-build-quagga
67       - lf-infra-deploy-maven-file:
68           global-settings-file: 'global-settings'
69           settings-file: 'netvirt-settings'
70           mvn-version: '{mvn-version}'
71           repo-id: '{repo-id}'
72           group-id: '{group-id}'
73           upload-files-dir: '{upload-files-dir}'
74           maven-repo-url: '$NEXUS_URL/content/repositories/thirdparty'
75
76     publishers:
77       - email-notification:
78           email-recipients: '{email-recipients}'
79           email-prefix: '[netvirt]'
80       - lf-infra-publish
81
82 - builder:
83     name: 'netvirt-build-quagga'
84     builders:
85       - shell: !include-raw-escape: quagga-build.sh
86
87 - scm:
88     name: 'git-netvirt-quagga'
89     scm:
90       - git:
91           url: https://github.com/6WIND/zrpcd.git
92           basedir: 'zrpcd'
93           branches:
94             - 'issue_32_bis'
95           wipe-workspace: true