From 61b740ce559893e2cc48bfa6d90d2ae83cae84ea Mon Sep 17 00:00:00 2001 From: SungHun Hwang Date: Thu, 10 Nov 2016 11:54:43 +0900 Subject: [PATCH] [BuildMonitor] Add new jobs named "BUILD-MONITOR" 1. Add new jenkins job named "BUILD-MONITOR" 2. Modify the jenkins-jobs.spec 3. Needed add trigger as below (in case of using multi env) ex) multi env ([PRE] Snap / [POST] Snap) ... BUILD-MONITOR-*.env SKIP ... Change-Id: I8dfaf9d8878992b2f0b517fffdeb9c2b26cb2e3d Signed-off-by: SungHun Hwang --- jobs/BUILD-MONITOR/config.xml | 84 +++++++++++++++++++++++++++++++++++++++++ jobs/create-snapshot/config.xml | 13 +++++++ packaging/jenkins-jobs.spec | 2 + 3 files changed, 99 insertions(+) create mode 100644 jobs/BUILD-MONITOR/config.xml diff --git a/jobs/BUILD-MONITOR/config.xml b/jobs/BUILD-MONITOR/config.xml new file mode 100644 index 0000000..35f9b61 --- /dev/null +++ b/jobs/BUILD-MONITOR/config.xml @@ -0,0 +1,84 @@ + + + + This job handles the image infomation updates and image manifest creation etc. + false + + + false + UNDEFINED + DISABLED + + + + + 7 + 500 + -1 + -1 + + + + + + TRIGGER_INFO + + + + + + + + true + false + false + false + + false + + + #/bin/bash + +python jenkins-scripts/job_buildmonitor.py + + + + + + false + + 0 + false + + + + + false + + + + + configuration, jenkins-scripts/job_buildmonitor.py, jenkins-scripts/common/*, jenkins-scripts/repomaker/*, jenkins-scripts/images/* + + false + false + false + userContent + + + + ${WORKSPACE}/configuration + false + + + + \ No newline at end of file diff --git a/jobs/create-snapshot/config.xml b/jobs/create-snapshot/config.xml index 7a3a141..fb6f1c0 100755 --- a/jobs/create-snapshot/config.xml +++ b/jobs/create-snapshot/config.xml @@ -72,6 +72,19 @@ false + + + + + BUILD-MONITOR-*.env + SKIP + + + BUILD-MONITOR + ALWAYS + false + false + diff --git a/packaging/jenkins-jobs.spec b/packaging/jenkins-jobs.spec index b0604ca..57ce8f5 100644 --- a/packaging/jenkins-jobs.spec +++ b/packaging/jenkins-jobs.spec @@ -112,6 +112,8 @@ fi %config %{destdir}/check_scm_meta_git/config.xml %dir %{destdir}/ref-snapshot-info-update/ %config %{destdir}/ref-snapshot-info-update/config.xml +%dir %{destdir}/BUILD-MONITOR/ +%config %{destdir}/BUILD-MONITOR/config.xml %files common %defattr(-,jenkins,jenkins) -- 2.7.4