diff options
author | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2017-09-27 21:23:40 +0200 |
---|---|---|
committer | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2017-09-27 21:31:56 +0200 |
commit | 9f519d9fe4de5312965c957d9d52754ffec77e56 (patch) | |
tree | 63689959e4eab8144cf343e13ff79179cd584830 /jjb/xci | |
parent | 662b0b1127def80893933b3c941490a121f756a6 (diff) |
xci: Switch to multijob for verify jobs
Change-Id: Ic059a0eff23b203056cdb54cdd1ae2f17f01a09c
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb/xci')
-rw-r--r-- | jjb/xci/xci-verify-jobs.yml | 76 |
1 files changed, 40 insertions, 36 deletions
diff --git a/jjb/xci/xci-verify-jobs.yml b/jjb/xci/xci-verify-jobs.yml index c94ab9204..35dee62e2 100644 --- a/jjb/xci/xci-verify-jobs.yml +++ b/jjb/xci/xci-verify-jobs.yml @@ -46,14 +46,14 @@ #-------------------------------- jobs: - 'xci-verify-{distro}-{type}-{stream}' - - 'xci-verify-{phase}-{type}-{stream}' + - 'xci-verify-{distro}-{phase}-{type}-{stream}' #-------------------------------- # job templates #-------------------------------- - job-template: name: 'xci-verify-{distro}-{type}-{stream}' - project-type: freestyle + project-type: multijob disabled: '{obj:disabled}' @@ -142,44 +142,48 @@ default: https://gerrit.opnfv.org/gerrit/$PROJECT description: 'Git URL to use on this Jenkins Slave' - builders: - description-setter: description: "Built on $NODE_NAME" - - trigger-builds: - - project: 'xci-verify-deploy-{type}-{stream}' - current-parameters: false - predefined-parameters: | - PROJECT=$PROJECT - DISTRO={distro} - DEPLOY_SCENARIO=os-nosdn-nofeature-noha - CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES - GERRIT_BRANCH=$GERRIT_BRANCH - GERRIT_REFSPEC=$GERRIT_REFSPEC - GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER - GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE - same-node: true - block: true - - trigger-builds: - - project: 'xci-verify-healthcheck-{type}-{stream}' - current-parameters: false - predefined-parameters: | - PROJECT=$PROJECT - DISTRO={distro} - DEPLOY_SCENARIO=os-nosdn-nofeature-noha - CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES - FUNCTEST_MODE=tier - FUNCTEST_TIER=healthcheck - GERRIT_BRANCH=$GERRIT_BRANCH - GERRIT_REFSPEC=$GERRIT_REFSPEC - GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER - GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE - same-node: true - block: true - + - multijob: + name: deploy + condition: SUCCESSFUL + projects: + - name: 'xci-verify-{distro}-deploy-{type}-{stream}' + current-parameters: true + predefined-parameters: | + DISTRO={distro} + DEPLOY_SCENARIO=os-nosdn-nofeature-noha + CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES + GERRIT_BRANCH=$GERRIT_BRANCH + GERRIT_REFSPEC=$GERRIT_REFSPEC + GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER + GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE + node-parameters: true + kill-phase-on: FAILURE + abort-all-job: true + - multijob: + name: healthcheck + condition: SUCCESSFUL + projects: + - name: 'xci-verify-{distro}-healthcheck-{type}-{stream}' + current-parameters: true + predefined-parameters: | + DISTRO={distro} + DEPLOY_SCENARIO=os-nosdn-nofeature-noha + CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES + FUNCTEST_MODE=tier + FUNCTEST_TIER=healthcheck + GERRIT_BRANCH=$GERRIT_BRANCH + GERRIT_REFSPEC=$GERRIT_REFSPEC + GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER + GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE + node-parameters: true + kill-phase-on: NEVER + abort-all-job: true - job-template: - name: 'xci-verify-{phase}-{type}-{stream}' + name: 'xci-verify-{distro}-{phase}-{type}-{stream}' disabled: false @@ -240,7 +244,7 @@ builders: - description-setter: - description: "Built on $NODE_NAME for $DISTRO" + description: "Built on $NODE_NAME" - 'xci-verify-{phase}-macro' #-------------------------------- |