blob: e0f5f78563b9741dadd5e2aafcab1c411f3ef3a6 [file] [log] [blame]
Filip Pytloun7af94b32017-03-14 18:38:52 +01001parameters:
Filip Pytlouna83bbee2017-03-15 18:13:59 +01002 _param:
3 jenkins_pollscm_spec: "H/60 * * * *"
Filip Pytloun7af94b32017-03-14 18:38:52 +01004 jenkins:
5 client:
chnydaaead8812017-05-19 15:27:30 +02006 job_template:
7 git-mirror-2way:
8 name: git-mirror-2way-{{name}}
9 jobs:
10 - name: contrail-build
11 branches: ${_param:contrail_branches}
12 - name: contrail-controller
13 branches: ${_param:contrail_branches}
14 - name: contrail-vrouter
15 branches: ${_param:contrail_branches}
16 - name: contrail-third-party
17 branches: ${_param:contrail_branches}
18 - name: contrail-generateDS
19 branches: ${_param:contrail_branches}
20 - name: contrail-sandesh
21 branches: ${_param:contrail_branches}
22 - name: contrail-packages
23 branches: ${_param:contrail_branches}
24 - name: contrail-nova-vif-driver
25 branches: ${_param:contrail_branches}
26 - name: contrail-neutron-plugin
27 branches: ${_param:contrail_branches}
28 - name: contrail-nova-extensions
29 branches: ${_param:contrail_branches}
30 - name: contrail-ceilometer-plugin
31 branches: ${_param:contrail_ceilometer_plugin_branches}
32 - name: contrail-heat
33 branches: ${_param:contrail_branches}
34 - name: contrail-web-storage
35 branches: ${_param:contrail_branches}
36 - name: contrail-web-server-manager
37 branches: ${_param:contrail_branches}
38 - name: contrail-web-controller
39 branches: ${_param:contrail_branches}
40 - name: contrail-web-core
41 branches: ${_param:contrail_branches}
42 - name: contrail-webui-third-party
43 branches: ${_param:contrail_branches}
44 - name: contrail-dpdk-extra-packages
45 branches: ${_param:contrail_dpdk_extra_branches}
46 - name: contrail-dpdk
47 branches: ${_param:contrail_dpdk_branches}
48 template:
49 discard:
50 build:
51 keep_num: 10
52 artifact:
53 keep_num: 10
54 type: workflow-scm
55 concurrent: false
56 scm:
57 type: git
58 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
59 credentials: "gerrit"
60 script: git-mirror-2way-pipeline.groovy
61 github:
62 url: "https://github.com/Mirantis/{{name}}"
63 trigger:
64 github:
65 pollscm:
66 spec: ${_param:jenkins_pollscm_spec}
67 param:
68 SOURCE_URL:
69 type: string
70 default: "${_param:jenkins_gerrit_url}/contrail/{{name}}.git"
71 TARGET_URL:
72 type: string
73 default: "https://github.com/Mirantis/{{name}}.git"
74 CREDENTIALS_ID:
75 type: string
76 default: "gerrit"
77 BRANCHES:
78 type: string
79 default: "{{branches}}"