diff options
author | kalyanreddy <reddyx.gundarapu@intel.com> | 2016-09-01 10:51:52 +0530 |
---|---|---|
committer | Kalyan reddy Gundarapu <reddyx.gundarapu@intel.com> | 2016-09-08 10:43:01 +0000 |
commit | 3f7624c80203e6f46cd9cedab618bba3c1f52324 (patch) | |
tree | 79081275d0f148f83ef927f47370900e7eb0f564 /jjb/kvmfornfv/kvmfornfv.yml | |
parent | c355f9df975349b6ccd09075f178841d035b631e (diff) |
KVMFORNFV: Enable artifact download and testing for daily job
This patch contains scripts for downloading artifacts and running
tests as part of KVM4NFV daily job.
Change-Id: Iaf557d260e236f873acf99d7d735c54d7d2903cf
Signed-off-by: kalyanreddy <reddyx.gundarapu@intel.com>
Diffstat (limited to 'jjb/kvmfornfv/kvmfornfv.yml')
-rw-r--r-- | jjb/kvmfornfv/kvmfornfv.yml | 77 |
1 files changed, 73 insertions, 4 deletions
diff --git a/jjb/kvmfornfv/kvmfornfv.yml b/jjb/kvmfornfv/kvmfornfv.yml index 4bb0a15b4..b6a55fe6a 100644 --- a/jjb/kvmfornfv/kvmfornfv.yml +++ b/jjb/kvmfornfv/kvmfornfv.yml @@ -28,6 +28,7 @@ - 'kvmfornfv-verify-{phase}-{stream}' - 'kvmfornfv-merge-{stream}' - 'kvmfornfv-daily-{stream}' + - 'kvmfornfv-daily-{phase}-{stream}' ##################################### # job templates ##################################### @@ -201,10 +202,63 @@ - timed: '@midnight' builders: - - shell: - !include-raw-escape: ./kvmfornfv-build.sh - - shell: - !include-raw-escape: ./kvmfornfv-upload-artifact.sh + - description-setter: + description: "Built on $NODE_NAME" + - multijob: + name: build + condition: SUCCESSFUL + projects: + - name: 'kvmfornfv-daily-build-{stream}' + current-parameters: false + node-parameters: false + git-revision: true + kill-phase-on: FAILURE + abort-all-job: true + - multijob: + name: test + condition: SUCCESSFUL + projects: + - name: 'kvmfornfv-daily-test-{stream}' + current-parameters: false + node-parameters: false + git-revision: true + kill-phase-on: FAILURE + abort-all-job: true + + +- job-template: + name: 'kvmfornfv-daily-{phase}-{stream}' + + disabled: '{obj:disabled}' + + concurrent: false + + scm: + - gerrit-trigger-scm: + credentials-id: '{ssh-credentials}' + refspec: '' + choosing-strategy: 'default' + + wrappers: + - ssh-agent-credentials: + users: + - '{ssh-credentials}' + - timeout: + timeout: 360 + fail: true + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - '{slave-label}-defaults' + - 'kvmfornfv-defaults': + gs-pathname: '{gs-pathname}' + + builders: + - description-setter: + description: "Built on $NODE_NAME" + - '{project}-daily-{phase}-macro' ##################################### # builder macros ##################################### @@ -222,6 +276,21 @@ !include-raw: ./kvmfornfv-download-artifact.sh - shell: !include-raw: ./kvmfornfv-test.sh +- builder: + name: 'kvmfornfv-daily-build-macro' + builders: + - shell: + !include-raw: ./kvmfornfv-build.sh + - shell: + !include-raw: ./kvmfornfv-upload-artifact.sh +- builder: + name: 'kvmfornfv-daily-test-macro' + builders: + - shell: + !include-raw: ./kvmfornfv-download-artifact.sh + - shell: + !include-raw: ./kvmfornfv-test.sh + ##################################### # parameter macros ##################################### |