Add ability to specify source credentials if required
PROD-31387
Change-Id: I6425a37a3f179e13c5e6cb4184855169a0df63cf
(cherry picked from commit dbae4e5621bf4ab3a771247f9789a0a6d4697545)
diff --git a/jenkins/client/job/git-mirrors/downstream/pipelines.yml b/jenkins/client/job/git-mirrors/downstream/pipelines.yml
index fbec27c..ea9cbe1 100644
--- a/jenkins/client/job/git-mirrors/downstream/pipelines.yml
+++ b/jenkins/client/job/git-mirrors/downstream/pipelines.yml
@@ -4,12 +4,17 @@
_param:
gerrit_pipeline_library_repo: https://github.com/Mirantis/pipeline-library
gerrit_mk_pipelines_repo: https://github.com/Mirantis/mk-pipelines
+ pipeline_library_source_credentials: ""
+ mk_pipelines_source_credentials: ${_param:pipeline_library_source_credentials}
+ vnf_onboaring_source_credentials: ${_param:pipeline_library_source_credentials}
jenkins_git_mirror_downstream_jobs:
- name: pipeline-library
downstream: mcp-ci/pipeline-library
upstream: "${_param:gerrit_pipeline_library_repo}"
branches: "*"
+ source_credentials: "${_param:pipeline_library_source_credentials}"
- name: mk-pipelines
downstream: mk/mk-pipelines
upstream: "${_param:gerrit_mk_pipelines_repo}"
- branches: "*"
\ No newline at end of file
+ branches: "*"
+ source_credentials: "${_param:mk_pipelines_source_credentials}"
\ No newline at end of file