blob: 0ecb83fa3c65c6ea44220a009fc521ea9abe5a4b [file] [log] [blame]
parameters:
_param:
jenkins_pollscm_spec: "H/60 * * * *"
jenkins:
client:
job:
git-mirror-2way-contrail-kubernetes:
type: workflow-scm
concurrent: false
scm:
type: git
url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
credentials: "gerrit"
script: git-mirror-2way-pipeline.groovy
github:
url: "https://github.com/Mirantis/contrail-kubernetes"
trigger:
github:
pollscm:
spec: ${_param:jenkins_pollscm_spec}
param:
SOURCE_URL:
type: string
default: "${_param:jenkins_gerrit_url}/contrail/contrail-kubernetes.git"
TARGET_URL:
type: string
default: "https://github.com/Mirantis/contrail-kubernetes.git"
CREDENTIALS_ID:
type: string
default: "gerrit"
BRANCHES:
type: string
default: ${_param:contrail_kubernetes_branches}