From f960717e059d553e94e85d6ea99bee9510841f31 Mon Sep 17 00:00:00 2001 From: Junghyun Kim Date: Tue, 28 Feb 2017 13:28:28 +0900 Subject: [PATCH] NEW JOB: update_scm_meta_git_for_dashboard This job makes two mappings: 1) mappings between git projects and gerrit domans 2) mappings between gerrit domains and user-emails This information is saved in JSON format. This will be used in Tizen dashboard. Change-Id: Id082e2af38599ca23c7cf80e8ef346f716380c55 Signed-off-by: Junghyun Kim --- jobs/update_scm_meta_git_for_dashboard/config.xml | 108 ++++++++++++++++++++++ packaging/jenkins-jobs.spec | 6 +- 2 files changed, 112 insertions(+), 2 deletions(-) create mode 100644 jobs/update_scm_meta_git_for_dashboard/config.xml diff --git a/jobs/update_scm_meta_git_for_dashboard/config.xml b/jobs/update_scm_meta_git_for_dashboard/config.xml new file mode 100644 index 0000000..981f6c0 --- /dev/null +++ b/jobs/update_scm_meta_git_for_dashboard/config.xml @@ -0,0 +1,108 @@ + + + + This job stores two mappings (git projects - gerrit domains and gerrit domains - user emails) into the download server (.dashboard/{git_domain_map.json,domain_user_map.json}) + + 7 + 500 + 7 + 500 + + false + + + false + + + 1 + + + + 2 + + + ssh://jenkins@10.113.76.104:29418/scm/meta/git + + + + + */master + + + false + + + + master + false + false + false + false + + + + + + REG_EXP + scm/meta/git + + + REG_EXP + .* + + + + + + false + false + false + false + + true + true + false + + + + + + + + __ANY__ + + + + false + false + + + + + false + + + #!/bin/bash +set -x + +python jenkins-scripts/job_update_scm_meta_git_for_dashboard.py + + + + + + configuration, jenkins-scripts/job_update_scm_meta_git_for_dashboard.py, jenkins-scripts/common/*, jenkins-scripts/testprojects/*, jenkins-scripts/gitbuildsys/* + + false + false + false + userContent + + + + ${WORKSPACE}/configuration + false + + + + diff --git a/packaging/jenkins-jobs.spec b/packaging/jenkins-jobs.spec index e6e2d61..7212249 100644 --- a/packaging/jenkins-jobs.spec +++ b/packaging/jenkins-jobs.spec @@ -126,10 +126,12 @@ fi %config %{destdir}/update-nuget/config.xml %dir %{destdir}/add_git_tag/ %config %{destdir}/add_git_tag/config.xml -%dir %{destdir}/TRBS_test_result_receiver/ -%config %{destdir}/TRBS_test_result_receiver/config.xml %dir %{destdir}/repa/ %config %{destdir}/repa/config.xml +%dir %{destdir}/TRBS_test_result_receiver/ +%config %{destdir}/TRBS_test_result_receiver/config.xml +%dir %{destdir}/update_scm_meta_git_for_dashboard/ +%config %{destdir}/update_scm_meta_git_for_dashboard/config.xml %files common %defattr(-,jenkins,jenkins) -- 2.7.4