From 8b2240628d15cb62592c47c9d590f718910e18db Mon Sep 17 00:00:00 2001 From: wutianwei Date: Fri, 21 Jul 2017 10:04:37 +0800 Subject: [Compass]master daily CI don't download iso from artifacts Sometime compass build ISO failed, and didn't upload the iso to artifacts. So daily CI didn't use the latest code. We want the daily CI run the latest code, and we will build ISO when deploying Change-Id: Ic2af2987119fe5e9eb772a710ba4b4620cb9ee65 Signed-off-by: wutianwei --- jjb/compass4nfv/compass-ci-jobs.yml | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) (limited to 'jjb/compass4nfv/compass-ci-jobs.yml') diff --git a/jjb/compass4nfv/compass-ci-jobs.yml b/jjb/compass4nfv/compass-ci-jobs.yml index 467e168bc..477f8f53c 100644 --- a/jjb/compass4nfv/compass-ci-jobs.yml +++ b/jjb/compass4nfv/compass-ci-jobs.yml @@ -290,10 +290,28 @@ builders: - description-setter: description: "POD: $NODE_NAME" - - shell: - !include-raw-escape: ./compass-download-artifact.sh - - shell: - !include-raw-escape: ./compass-deploy.sh + - conditional-step: + condition-kind: regex-match + regex: master + label: '{stream}' + steps: + - shell: + !include-raw-escape: ./compass-build.sh + - shell: + !include-raw-escape: ./compass-deploy.sh + builders: + - description-setter: + description: "POD: $NODE_NAME" + - conditional-step: + condition-kind: regex-match + regex: danube + label: '{stream}' + steps: + - shell: + !include-raw-escape: ./compass-download-artifact.sh + - shell: + !include-raw-escape: ./compass-deploy.sh + ######################## # parameter macros -- cgit 1.2.3-korg