diff options
author | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2016-09-08 10:55:09 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-09-08 10:55:09 +0000 |
commit | e5982f736c0394160841027dd9a06739107e10a9 (patch) | |
tree | f38f3bfbdb0a1d88628c7e671afe62e85c23e1b5 /jjb/kvmfornfv/kvmfornfv.yml | |
parent | 2b1ba7d32f7378b1a4426a07e17eb0abd9cd094d (diff) | |
parent | 3f7624c80203e6f46cd9cedab618bba3c1f52324 (diff) |
Merge "KVMFORNFV: Enable artifact download and testing for daily job"
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 ##################################### |