blob: b49a1a0eae77e0ba3caa540ea4d1b23b3f7b9a65 [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}
Filip Pytloun7af94b32017-03-14 18:38:52 +010048 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-pipeline.groovy
61 github:
62 url: "https://github.com/Juniper/{{name}}"
63 trigger:
64 github:
65 pollscm:
66 spec: ${_param:jenkins_pollscm_spec}
67 param:
68 SOURCE_URL:
69 type: string
70 default: "https://github.com/Juniper/{{name}}.git"
71 TARGET_URL:
72 type: string
73 default: "${_param:jenkins_gerrit_url}/contrail/{{name}}.git"
74 CREDENTIALS_ID:
75 type: string
76 default: "gerrit"
77 BRANCHES:
78 type: string
Jakub Josef19de5752017-04-12 23:50:01 +020079 default: "{{branches}}"
Filip Pytloun7af94b32017-03-14 18:38:52 +010080 job:
81 git-mirror-ifmap-python-client:
82 discard:
83 build:
84 keep_num: 10
85 artifact:
86 keep_num: 10
87 type: workflow-scm
88 concurrent: false
89 scm:
90 type: git
91 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
92 credentials: "gerrit"
93 script: git-mirror-pipeline.groovy
94 github:
95 url: "https://github.com/tcpcloud/ifmap-python-client"
96 trigger:
97 github:
98 pollscm:
99 spec: ${_param:jenkins_pollscm_spec}
100 param:
101 SOURCE_URL:
102 type: string
103 default: "https://github.com/tcpcloud/ifmap-python-client.git"
104 TARGET_URL:
105 type: string
106 default: "${_param:jenkins_gerrit_url}/contrail/ifmap-python-client.git"
107 CREDENTIALS_ID:
108 type: string
109 default: "gerrit"
110 BRANCHES:
111 type: string
112 default: "master"