From 7f182bc08c96e976289bd1c001458d319565f4e4 Mon Sep 17 00:00:00 2001 From: Hasan Wan Date: Tue, 25 Feb 2014 15:58:24 +0200 Subject: [PATCH] Trigger the post-image-creation job in post-build actions Clean the workspace before every build Fixes: #1650 Change-Id: I72ddbd6588d59f095fd251c9aeb72dd8b9aec336 Signed-off-by: Hasan Wan --- jobs/image-creator/config.xml | 47 ++++++++++++++++--------------------------- 1 file changed, 17 insertions(+), 30 deletions(-) diff --git a/jobs/image-creator/config.xml b/jobs/image-creator/config.xml index ef4bb30..92733f0 100644 --- a/jobs/image-creator/config.xml +++ b/jobs/image-creator/config.xml @@ -36,24 +36,23 @@ python ${WORKSPACE}/jenkins-scripts/job_imager.py - - - - - - POST-IMAGE-CREATION.env - SKIP - - + + + + + + + + POST-IMAGE-CREATION.env + true + + post-image-creation ALWAYS false - false - + - - - + def name = manager.getLogMatcher('.*"name": "(.*)".*') def build = manager.getLogMatcher('.*"buildid": "(.*)".*') @@ -63,24 +62,12 @@ if(name?.matches() && build?.matches()) { 0 - - - - - INCLUDE - - - true - false - true - true true - true - true - false - false - + + false + + configuration, jenkins-scripts/job_imager.py, jenkins-scripts/common/* -- 2.7.4