blob: 891c244fa7571c887639d5dfb47028577a5d706e [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
Jan Cach872d40c2018-06-08 10:03:17 +020019 branches: ${_param:contrail_branches_generateDS}
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}
Jan Cachd6de1bf2018-06-22 13:43:29 +020050 - name: contrail-common
Jan Cach374559f2018-07-02 15:50:00 +020051 branches: ${_param:oc5_branches}
Jan Cachd6de1bf2018-06-22 13:43:29 +020052 - name: contrail-analytics
Jan Cach374559f2018-07-02 15:50:00 +020053 branches: ${_param:oc5_branches}
Jan Cachd6de1bf2018-06-22 13:43:29 +020054 - name: contrail-api-client
Jan Cach374559f2018-07-02 15:50:00 +020055 branches: ${_param:oc5_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010056 template:
57 discard:
58 build:
59 keep_num: 10
60 artifact:
61 keep_num: 10
62 type: workflow-scm
63 concurrent: false
64 scm:
65 type: git
66 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010067 branch: "${_param:jenkins_pipelines_branch}"
Filip Pytloun7af94b32017-03-14 18:38:52 +010068 credentials: "gerrit"
69 script: git-mirror-pipeline.groovy
70 github:
71 url: "https://github.com/Juniper/{{name}}"
72 trigger:
73 github:
74 pollscm:
75 spec: ${_param:jenkins_pollscm_spec}
76 param:
77 SOURCE_URL:
78 type: string
79 default: "https://github.com/Juniper/{{name}}.git"
80 TARGET_URL:
81 type: string
82 default: "${_param:jenkins_gerrit_url}/contrail/{{name}}.git"
83 CREDENTIALS_ID:
84 type: string
85 default: "gerrit"
86 BRANCHES:
87 type: string
Jakub Josef19de5752017-04-12 23:50:01 +020088 default: "{{branches}}"
Filip Pytloun7af94b32017-03-14 18:38:52 +010089 job:
90 git-mirror-ifmap-python-client:
91 discard:
92 build:
93 keep_num: 10
94 artifact:
95 keep_num: 10
96 type: workflow-scm
97 concurrent: false
98 scm:
99 type: git
100 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +0100101 branch: "${_param:jenkins_pipelines_branch}"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100102 credentials: "gerrit"
103 script: git-mirror-pipeline.groovy
104 github:
105 url: "https://github.com/tcpcloud/ifmap-python-client"
106 trigger:
107 github:
108 pollscm:
109 spec: ${_param:jenkins_pollscm_spec}
110 param:
111 SOURCE_URL:
112 type: string
113 default: "https://github.com/tcpcloud/ifmap-python-client.git"
114 TARGET_URL:
115 type: string
116 default: "${_param:jenkins_gerrit_url}/contrail/ifmap-python-client.git"
117 CREDENTIALS_ID:
118 type: string
119 default: "gerrit"
120 BRANCHES:
121 type: string
122 default: "master"