blob: 0ecb83fa3c65c6ea44220a009fc521ea9abe5a4b [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:
7 git-mirror-2way-contrail-kubernetes:
8 type: workflow-scm
9 concurrent: false
10 scm:
11 type: git
12 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
13 credentials: "gerrit"
14 script: git-mirror-2way-pipeline.groovy
15 github:
16 url: "https://github.com/Mirantis/contrail-kubernetes"
17 trigger:
18 github:
19 pollscm:
20 spec: ${_param:jenkins_pollscm_spec}
21 param:
22 SOURCE_URL:
23 type: string
24 default: "${_param:jenkins_gerrit_url}/contrail/contrail-kubernetes.git"
25 TARGET_URL:
26 type: string
27 default: "https://github.com/Mirantis/contrail-kubernetes.git"
28 CREDENTIALS_ID:
29 type: string
30 default: "gerrit"
31 BRANCHES:
32 type: string
33 default: ${_param:contrail_kubernetes_branches}