From 03408b1b193004fda579a53d066229b312fb462c Mon Sep 17 00:00:00 2001 From: Hasan Wan Date: Thu, 22 Aug 2013 11:35:02 +0300 Subject: [PATCH] Add post-image-creation into workflow Change-Id: Ie0db9010c0765e797136da225b6f41e9f8a1dbe4 Signed-off-by: Hasan Wan --- jobs/image-creator/config.xml | 31 ++++++++++++++++++++++++------- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/jobs/image-creator/config.xml b/jobs/image-creator/config.xml index bdfede9..4dd6f8a 100644 --- a/jobs/image-creator/config.xml +++ b/jobs/image-creator/config.xml @@ -1,7 +1,7 @@ - + Image creation jobs for all kinds of images false @@ -19,17 +19,34 @@ #/bin/bash + unset http_proxy unset https_proxy -export no_proxy="localhost,.intel.com" -python jenkins-scripts/job_imager.py + +python ${WORKSPACE}/jenkins-scripts/job_imager.py + + + + + + + POST-IMAGE-CREATION.env + SKIP + + + post-image-creation + ALWAYS + false + false + + + if( manager.logContains("Info: Finished.*")){ -// def matcher2 = manager.getMatcher(manager.build.logFile, ".*home:/hudson:/(.*)/images.*") - manager.addBadge("success.gif", "") // matcher2.group(1)) + manager.addBadge("success.gif", "") }else{ manager.addShortText("??") @@ -51,7 +68,7 @@ python jenkins-scripts/job_imager.py - configuration, jenkins-scripts/job_imager.py, jenkins-scripts/common/*, jenkins-scripts/repomaker/*, jenkins-scripts/images/* + configuration, jenkins-scripts/job_imager.py, jenkins-scripts/common/* false false @@ -65,4 +82,4 @@ python jenkins-scripts/job_imager.py - \ No newline at end of file + -- 2.7.4