blob: f92d1a7e08e5d42be46fe4e7d7ab4c8839a23883 [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:
6 job_template:
7 git-mirror:
8 name: git-mirror-{{name}}
9 jobs:
10 - name: contrail-build
Jakub Josef19de5752017-04-12 23:50:01 +020011 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010012 - name: contrail-controller
Jakub Josef19de5752017-04-12 23:50:01 +020013 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010014 - name: contrail-vrouter
Jakub Josef19de5752017-04-12 23:50:01 +020015 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010016 - name: contrail-third-party
Jakub Josef19de5752017-04-12 23:50:01 +020017 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010018 - name: contrail-generateDS
Jakub Josef19de5752017-04-12 23:50:01 +020019 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010020 - name: contrail-sandesh
Jakub Josef19de5752017-04-12 23:50:01 +020021 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010022 - name: contrail-packages
Jakub Josef19de5752017-04-12 23:50:01 +020023 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010024 - name: contrail-nova-vif-driver
Jakub Josef19de5752017-04-12 23:50:01 +020025 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010026 - name: contrail-neutron-plugin
Jakub Josef19de5752017-04-12 23:50:01 +020027 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010028 - name: contrail-nova-extensions
Jakub Josef19de5752017-04-12 23:50:01 +020029 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010030 - name: contrail-ceilometer-plugin
Jakub Josef19de5752017-04-12 23:50:01 +020031 branches: ${_param:contrail_ceilometer_plugin_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010032 - name: contrail-heat
Jakub Josef19de5752017-04-12 23:50:01 +020033 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010034 - name: contrail-web-storage
Jakub Josef19de5752017-04-12 23:50:01 +020035 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010036 - name: contrail-web-server-manager
Jakub Josef19de5752017-04-12 23:50:01 +020037 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010038 - name: contrail-web-controller
Jakub Josef19de5752017-04-12 23:50:01 +020039 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010040 - name: contrail-web-core
Jakub Josef19de5752017-04-12 23:50:01 +020041 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010042 - name: contrail-webui-third-party
Jakub Josef19de5752017-04-12 23:50:01 +020043 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010044 - name: contrail-dpdk-extra-packages
Jakub Josef19de5752017-04-12 23:50:01 +020045 branches: ${_param:contrail_dpdk_extra_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010046 - name: contrail-kubernetes
Jakub Josef19de5752017-04-12 23:50:01 +020047 branches: ${_param:contrail_kubernetes_branches}
chnydacb9ca9a2017-04-26 15:55:19 +020048 - name: contrail-dpdk
49 branches: ${_param:contrail_dpdk_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010050 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"
Jakub Josef7938b532017-12-12 18:02:03 +010061 branch: "${_param:jenkins_pipelines_branch}"
Filip Pytloun7af94b32017-03-14 18:38:52 +010062 credentials: "gerrit"
63 script: git-mirror-pipeline.groovy
64 github:
65 url: "https://github.com/Juniper/{{name}}"
66 trigger:
67 github:
68 pollscm:
69 spec: ${_param:jenkins_pollscm_spec}
70 param:
71 SOURCE_URL:
72 type: string
73 default: "https://github.com/Juniper/{{name}}.git"
74 TARGET_URL:
75 type: string
76 default: "${_param:jenkins_gerrit_url}/contrail/{{name}}.git"
77 CREDENTIALS_ID:
78 type: string
79 default: "gerrit"
80 BRANCHES:
81 type: string
Jakub Josef19de5752017-04-12 23:50:01 +020082 default: "{{branches}}"
Filip Pytloun7af94b32017-03-14 18:38:52 +010083 job:
84 git-mirror-ifmap-python-client:
85 discard:
86 build:
87 keep_num: 10
88 artifact:
89 keep_num: 10
90 type: workflow-scm
91 concurrent: false
92 scm:
93 type: git
94 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010095 branch: "${_param:jenkins_pipelines_branch}"
Filip Pytloun7af94b32017-03-14 18:38:52 +010096 credentials: "gerrit"
97 script: git-mirror-pipeline.groovy
98 github:
99 url: "https://github.com/tcpcloud/ifmap-python-client"
100 trigger:
101 github:
102 pollscm:
103 spec: ${_param:jenkins_pollscm_spec}
104 param:
105 SOURCE_URL:
106 type: string
107 default: "https://github.com/tcpcloud/ifmap-python-client.git"
108 TARGET_URL:
109 type: string
110 default: "${_param:jenkins_gerrit_url}/contrail/ifmap-python-client.git"
111 CREDENTIALS_ID:
112 type: string
113 default: "gerrit"
114 BRANCHES:
115 type: string
116 default: "master"