From 7dc4a6fb8234d3e0d9ebe11923fa600a47bc2a07 Mon Sep 17 00:00:00 2001 From: Junghyun Kim Date: Fri, 10 Mar 2017 07:47:29 +0900 Subject: [PATCH] NEW JOB: update_git_obs_mapping_for_dashboard and update_local_git_for_dashboard Job 'update_git_obs_mapping_for_dashboard' stores git-obs-mapping information by parsing scm/git-obs-mapping for dashboard. Job 'update_local_git_for_dashboard' stores branch-project mapping information for dashboard Change-Id: I1e52db3709fe97e7d3d4f178ea98ca1afc99f3a4 Signed-off-by: Junghyun Kim --- .../config.xml | 110 +++++++++++++++++++++ jobs/update_local_git_for_dashboard/config.xml | 104 +++++++++++++++++++ packaging/jenkins-jobs.spec | 2 + 3 files changed, 216 insertions(+) create mode 100644 jobs/update_git_obs_mapping_for_dashboard/config.xml create mode 100644 jobs/update_local_git_for_dashboard/config.xml diff --git a/jobs/update_git_obs_mapping_for_dashboard/config.xml b/jobs/update_git_obs_mapping_for_dashboard/config.xml new file mode 100644 index 0000000..3e038db --- /dev/null +++ b/jobs/update_git_obs_mapping_for_dashboard/config.xml @@ -0,0 +1,110 @@ + + + + This job stores git_obs_mapping into the download server (.dashboard/git_obs_mapping/mapping.json) + false + + + false + + + 1 + + + false + false + + + + 7 + 500 + 7 + 500 + + + + + master + false + false + false + false + + + + + + REG_EXP + scm/git-obs-mapping + + + REG_EXP + .* + + + false + + + + false + false + false + false + + true + + false + true + PLAIN + + BASE64 + PLAIN + + + + + + + + public_gerrit_rabbitmq + + + + false + + + + + false + + + #!/bin/bash +set -x + +python jenkins-scripts/job_update_git_obs_mapping_for_dashboard.py +python jenkins-scripts/job_update_git_branch_project_mapping_for_dashboard.py + + + + + + false + + + + + configuration, jenkins-scripts/job_update_git_obs_mapping_for_dashboard.py, jenkins-scripts/job_update_git_branch_project_mapping_for_dashboard.py, jenkins-scripts/common/* + + false + false + false + userContent + + + + ${WORKSPACE}/configuration + false + + + + \ No newline at end of file diff --git a/jobs/update_local_git_for_dashboard/config.xml b/jobs/update_local_git_for_dashboard/config.xml new file mode 100644 index 0000000..9e29eb4 --- /dev/null +++ b/jobs/update_local_git_for_dashboard/config.xml @@ -0,0 +1,104 @@ + + + + This job will pull latest change to jenkins local when remote ref updated. + false + + + false + + + 102 + + + false + false + + + + 7 + 500 + 7 + 500 + + + + + master + false + false + false + false + + + + + + REG_EXP + .* + + + REG_EXP + .* + + + false + + + + false + false + false + false + + true + + false + true + PLAIN + + BASE64 + PLAIN + + + + + + + + public_gerrit_rabbitmq + + + + false + + + + + false + + + #!/bin/bash +set -x + +python jenkins-scripts/job_update_git_branch_project_mapping_for_dashboard.py + + + + + + configuration, jenkins-scripts/job_update_git_branch_project_mapping_for_dashboard.py, jenkins-scripts/common/* + + false + false + false + userContent + + + + ${WORKSPACE}/configuration + false + + + + \ No newline at end of file diff --git a/packaging/jenkins-jobs.spec b/packaging/jenkins-jobs.spec index 31bba4a..cdb8611 100644 --- a/packaging/jenkins-jobs.spec +++ b/packaging/jenkins-jobs.spec @@ -132,6 +132,8 @@ fi %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 +%dir %{destdir}/update_git_obs_mapping_for_dashboard/ +%config %{destdir}/update_git_obs_mapping_for_dashboard/config.xml %dir %{destdir}/litmus_jira_issue_receiver/ %config %{destdir}/litmus_jira_issue_receiver/config.xml %dir %{destdir}/litmus_tct_file_receiver/ -- 2.7.4