blob: 92a3d6d17196f61dd64241433ec23f7a1943574a [file] [log] [blame]
parameters:
_param:
jenkins_git_mirror_downstream_jobs: []
jenkins:
client:
job_template:
git_mirror_downstream_common:
name: git-mirror-downstream-{{name}}
jobs: ${_param:jenkins_git_mirror_downstream_jobs}
template:
discard:
build:
keep_num: 10
artifact:
keep_num: 10
type: workflow-scm
concurrent: false
scm:
type: git
url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
branch: "${_param:jenkins_pipelines_branch}"
credentials: "${_param:jenkins_gerrit_credentials}"
script: git-mirror-pipeline.groovy
param:
SOURCE_URL:
type: string
default: "{{upstream}}"
SOURCE_CREDENTIALS:
type: string
default: "{{source_credentials}}"
TARGET_URL:
type: string
default: "${_param:jenkins_gerrit_url}/{{downstream}}"
CREDENTIALS_ID:
type: string
default: ${_param:jenkins_gerrit_credentials}
BRANCHES:
type: string
default: "{{branches}}"
description: "Comma-separated list of branches to mirror"