From ff72f419a64a465e55e50e672e6eb4b2874bdc67 Mon Sep 17 00:00:00 2001 From: gaoxuesx Date: Wed, 27 Aug 2014 11:22:20 +0800 Subject: [PATCH] Add job monitor_scm_meta_git Using this job to check data of scm/meta/git project and update data to IRIS Change-Id: I1dba20b7b6e8deef545024577fa1704c47fd8860 Signed-off-by: gaoxuesx --- jobs/configuration | 5 +++ jobs/monitor_scm_meta_git/config.xml | 86 ++++++++++++++++++++++++++++++++++++ packaging/jenkins-jobs.spec | 2 + 3 files changed, 93 insertions(+) create mode 100644 jobs/monitor_scm_meta_git/config.xml diff --git a/jobs/configuration b/jobs/configuration index 581dbf5..e5ae204 100644 --- a/jobs/configuration +++ b/jobs/configuration @@ -37,6 +37,11 @@ URL_PUBLIC_REPO_BASE= PATH_REPO_BASE=/srv/download/ PATH_LIVE_REPO_BASE=/srv/download/live/ +# IRIS server configuration +IRIS_USERNAME= +IRIS_PASSWORDX= +IRIS_SERVER= + ## Image sync configuration IMG_SYNC_DEST_BASE= diff --git a/jobs/monitor_scm_meta_git/config.xml b/jobs/monitor_scm_meta_git/config.xml new file mode 100644 index 0000000..2b01078 --- /dev/null +++ b/jobs/monitor_scm_meta_git/config.xml @@ -0,0 +1,86 @@ + + + + sync up iris data with scm/meta/git. + + 7 + 1000 + -1 + -1 + + false + + + 100 + + + + master + false + false + false + false + + + + + + PLAIN + scm/meta/git + + + PLAIN + master + + + + + + false + false + false + false + + false + true + false + + + + + + + + + + + + false + + + + + false + + + #!/bin/bash +set -x +export +set |grep GERRIT_ +python ${JENKINS_HOME}/jenkins-scripts/job_monitor_scm_meta_git.py + + + + + + false + + + + + ${JENKINS_HOME}/jobs/configuration + false + + + + \ No newline at end of file diff --git a/packaging/jenkins-jobs.spec b/packaging/jenkins-jobs.spec index 4059940..978e64e 100644 --- a/packaging/jenkins-jobs.spec +++ b/packaging/jenkins-jobs.spec @@ -90,6 +90,8 @@ fi %{destdir}/release-snapshot/config.xml %dir %{destdir}/test-results-publisher/ %{destdir}/test-results-publisher/config.xml +%dir %{destdir}/monitor_scm_meta_git/ +%{destdir}/monitor_scm_meta_git/config.xml %files common %defattr(-,jenkins,jenkins) -- 2.7.4