blob: 349dad5407100aa70e6fa37a916ede31690545fa [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}
chnyda3034f512017-05-19 15:37:41 +020012 - name: contrail-pipeline
13 branches: ${_param:contrail_branches}
chnydaaead8812017-05-19 15:27:30 +020014 - name: contrail-controller
15 branches: ${_param:contrail_branches}
16 - name: contrail-vrouter
17 branches: ${_param:contrail_branches}
18 - name: contrail-third-party
19 branches: ${_param:contrail_branches}
20 - name: contrail-generateDS
21 branches: ${_param:contrail_branches}
22 - name: contrail-sandesh
23 branches: ${_param:contrail_branches}
24 - name: contrail-packages
25 branches: ${_param:contrail_branches}
26 - name: contrail-nova-vif-driver
27 branches: ${_param:contrail_branches}
28 - name: contrail-neutron-plugin
29 branches: ${_param:contrail_branches}
30 - name: contrail-nova-extensions
31 branches: ${_param:contrail_branches}
32 - name: contrail-ceilometer-plugin
33 branches: ${_param:contrail_ceilometer_plugin_branches}
34 - name: contrail-heat
35 branches: ${_param:contrail_branches}
36 - name: contrail-web-storage
37 branches: ${_param:contrail_branches}
38 - name: contrail-web-server-manager
39 branches: ${_param:contrail_branches}
40 - name: contrail-web-controller
41 branches: ${_param:contrail_branches}
42 - name: contrail-web-core
43 branches: ${_param:contrail_branches}
44 - name: contrail-webui-third-party
45 branches: ${_param:contrail_branches}
46 - name: contrail-dpdk-extra-packages
47 branches: ${_param:contrail_dpdk_extra_branches}
48 - name: contrail-dpdk
49 branches: ${_param:contrail_dpdk_branches}
50 template:
51 discard:
52 build:
53 keep_num: 10
54 artifact:
55 keep_num: 10
56 type: workflow-scm
57 concurrent: false
58 scm:
59 type: git
60 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
61 credentials: "gerrit"
62 script: git-mirror-2way-pipeline.groovy
63 github:
64 url: "https://github.com/Mirantis/{{name}}"
65 trigger:
66 github:
67 pollscm:
68 spec: ${_param:jenkins_pollscm_spec}
69 param:
70 SOURCE_URL:
71 type: string
72 default: "${_param:jenkins_gerrit_url}/contrail/{{name}}.git"
73 TARGET_URL:
74 type: string
75 default: "https://github.com/Mirantis/{{name}}.git"
76 CREDENTIALS_ID:
77 type: string
78 default: "gerrit"
79 BRANCHES:
80 type: string
81 default: "{{branches}}"